A boy travelled by train which moved at the speed of 30mph. He then boarded a bus which moved at the speed of 40 mph and reached his destination. The entire distance covered was 100 miles and the entire duration of the journey was 3 hours. Find the distance he travelled by bus