A man jogs along at 1.2 m/s. His dog, playing 36 m behind him, waits for 5 s, then takes off after him at 3.1 m/s.

How far apart are they when the dog starts
after his master?
Answer in units of m.

How far will the dog run?
Answer in units of m.

Xman = 1.2 t

Xdog = -36 + 3.1(t -5)

They are 36 + 5*1.2 = 42 m apart when the dog starts.

Set them equal and solve for t.
Use that time t and either equation to compute the location, X, where they meet.