The cost to rent a canoe was $20 plus $9.75 per hour. For how many hours, h, did bob rent the canoe if he spent $78.50 in all ?