Two trains leave a railway station at the same time. The first train travels towards west and the second train travels towards north. The first train travels 5 km/he faster than the second train. If after two hours they are 50 km apart. Find the speed of each train.