The acceleration of the car will be needed in order to calculate the time. It is important to consider that the final speed is equal to zero:
We can clear time in the speed equation:
If you find some mistake in my English, please tell me know.
When you square the "year" of each planet and divide it by the cube of its distance, or axis from the sun, the number would be the same for all the planets
If you draw the problem, it would look like that shown in the attached picture. The total length the ship will now travel can be solved using the Pythagorean theorem. The solution is as follows:
d = √(120)²+(100)²
d = 156.2 km
So, the ship will have to travel 156.2 km to the northwest direction.