A computer repairman charged $720 to come visit a business, plus $45 per hour of work. During one week he earned $1,800. How many hours did the repairman work in that week?
A. 21
B. 24
C. 39
D. 40