Basically the same as Melody's answer:
Time on uphill one way = time downhill coming back
'a' distance uphill is 'a' distance downhill on the way back
c downhill is c uphill on the way back
b is flat distance = 2 b for the roundtrip
total distance = 2 (a+b+c)
(a+c) / 100 + 2 b / (120) + (a+c)/ 150 = time for round trip common denominator 600
[ (6)(a+c) + 10b + 4 (a+c) ] / 600 = time <==simplify
time = 1/60 (a+b+c) remember distance/time = rate
2 (a+b+c) / (1/60(a+b+c) = 120 m/s