The combine method is receiving 4 values as parameters which the method description is naming first, flen, second, slen. In the example you mention,
first is assigned 'stay'
flen is assigned 4
second is assigned 'vacation'
slen is assigned 6
I would think about using slicing to slice the letters you want from the given word. Typically with slicing, we've used literals (like 4), but variables can be used too.
For example, first[:4] would return 'stay', the letters in first from index 0 up to, but not including the letter at index 4. Instead of 4, I could use first[:flen] and it would do the same thing. If instead flen was assigned 3, then first[:flen] would return 'sta' instead.