Ming rented a bike from Ted's Bikes. It cost $13 plus $3 per hour. If Ming paid $31,
then he rented the bike for how many hours?

A)7.
B)10.3333
C)6
D)10