Some kids went on a bike ride. The ride was six hours long and the kids traveled 54 miles. For part of the ride they biked at a speed of 7 miles per hour and for part of the ride they biked at a speed of 11 miles per hour. For how long did they bike at the first speed and for how long at the other speed?