Let A be the location of the school
Let AB be the distance of the car at 3 pm
Let AC be the distance of the lorry at 3 pm
Let BC be the distance between the car and the lorry at 3 pm
AB = 56 * 3 = 168 km
AC = 42 * 3 = 126 km
Since ABC is a right-angled triange with 90 degree at angle A,
the distance of the car and the lorry at 3 pm will be
BC = sqrt ( AB**2 + AC**2)
= sqrt (168**2 + 126**2)
= 210 km