Two trains were travelling on two parallel tracks. The train, which was 200 meter long, travelled faster than the other which was 120 meter. If they travelled towards each other at the same time, it would take them to 10 second to pass each other completely. If they travelled in the same direction at the same time, it would take the faster train 160 second to pass the slower train completely from the moment it caught up. Find the speed of each train