Answer:
The distance traveled can be found by kinematics equations
![x = vt](https://img.qammunity.org/2020/formulas/physics/college/a6ct3i6ikjp0ewinzbjtxzw9s9njg7ptez.png)
![x(t) = v_At - 16= 4t - 16\\y(t) = v_Bt = 3t\\z(t) = √(x(t)^2 + y(t)^2) = √(16t^2 - 128t + 256 + 9t^2) = √(25t^2 - 128t + 256)](https://img.qammunity.org/2020/formulas/physics/college/644g7jlsb7qoxvj0e8yfx04e6tpxg3vuhs.png)
Step-by-step explanation:
The initial position of Car B is denoted as origin. Car A started at -16 km, and moving right. Car B started at origin and moving up. z is the magnitude of the vector with components x and y.
The relation can be found by pythagorean theorem.
For checking the solution, we can find the positions at t = 4h. Car A is at the origin, and Car B is 12 km north of origin. z = 12.