Final answer:
The speed of the second train is approximately 65 km/h.
Step-by-step explanation:
To find the speed of the second train, we need to determine the distance between P and Q. Let's assume that the distance is 'd' kilometers.
Train A takes 4 hours 48 minutes to cover the distance 'd' when moving towards Q. This can be written as 4.8 hours.
Similarly, Train B takes 3 hours 20 minutes to cover the distance 'd' when moving towards P. This can be written as 3.33 hours.
Let's use the formula:
speed = distance/time
For Train A, speed = d/4.8 km/h
For Train B, speed = d/3.33 km/h
Since the speed of the train from P is given as 45 km/h, we can set up the equation:
45 = d/4.8
d = 216 km
Therefore, the speed of the second train is d/3.33 = 216/3.33 = 64.864 km/h, which is approximately 65 km/h.