Question 933107
Let 5km/h = the ram's rate at faster pace
    4km/h = the ram's rate at slower pace

If ram walks from his house at 5km/h he reaches school 5 min early
and if he walks 4 km/h he reaches 5 min late.
5(x-5)= 4(x+5)
5x-25 = 4x+20
    x = 45

substitute x with 45
45-5=40
45+5=50

Distance = (rate)(time)
       d =  (5)(40)
       d =  200km
       d =  (4)(50)
       d =  200km

The distance ram travels from its house going to the school is 200km.