On Tuesday, Donovan earned $9 for 2 hours of babysitting. On Saturday, he babysat for the same family and earned $31.50. How many hours did he babysit on Saturday?