You have to find the constant speed she rides at then you can use a proportion to find distance for an hour.
Speed = distance / time
Speed = 20 miles / 150 minutes
Now proportion:
20/150 = x miles / 60 minutes
Cross multiply
150x=1200
x=1200/150
x= 8
So the distance she rode in an hour is 8 miles.