Given the task definition and input, reply with output. The task is to generate the correct answer for a given math problem.

Problem: a certain bus driver is paid a regular rate of $ 16 per hour for any number of hours that does not exceed 40 hours per week . for any overtime hours worked in excess of 40 hours per week , the bus driver is paid a rate that is 75 % higher than his regular rate . if last week the bus driver earned $ 1032 in total compensation , how many total hours did he work that week ?
5