Rob rented a bike from Ming's Bikes. It cost $11 plus $8 per hour. If Rob paid $51 then he rented the bike for how many hours?