Martina used a total of 4 3/4 gallons of gas while driving her car. Each hour she was driving, she used 5/6 gallons of gas. What was the total number of hours she was driving?