You need to generate equations for the position of the cat and the dog with the same time and position variables. Let's make the dog s position at t = 0 as 0 (x0) and the dog's velocity as 1.7 m/s (v0 ) . The cat has an x0 = 1.5 m and v0 = 0.
the cat's equation of motion is x = x0 + (1/2)act2
the dog's equation of motion is x = x0 + v0t - (1/2)adt2
where ac is the cat's acceleration and ad is the deceleration of the dog (I could have put it in as the acceleration, but then you would have to remember to make the sign negative. )
Use the cat equation to solve for time, given x = 3m
Use the dog equation to solve for the position the dog is in at that time.
Hope that helps!