Katy's favorite rides at the amusement park are the roller coasters and water slide. The wait time for the roller coaster is minutes and the wait time for the water slide is minutes. If she went on rides total and waited hours in line, how many times did she go on each ride