Train X with speed 36km/h and train Y with speed 15m/s start from A at the same time to reach B. After one hour train Y has a breakdown. Engine Z starts with a speed of 90km/h from B just after the breakdown. The engine crosses X in one and half hours after starting from B. Then it reaches Y and pulls it to B.