To find gallons per hour, divide gallons by hours.
... (8/3 gallons)/(4/5 hour) = (8/3)×(5/4) gallons/hour = 10/3 gallons/hour
_____
Comment on dividing fractions
There are a couple of ways you can do this without a calculator. One is to multiply the numerator fraction by the inverse of the denominator fraction. That is what we have done here.
Another is to make the denominators of both fractions the same. (Here, 15 works.) Then you have ...

You can also remove a factor of 4 from numerator and denominator early on, so you have (2/3)/(1/5) = (10/15)/(3/15) = 10/3, or = (2/3)×(5/1) = 10/3.