a certain bus driver is paid a regular rate of $ 20 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 $ 1000 in total compensation , how many total hours did he work that week ?
"for 40 hrs = 40 * 20 = 800 excess = 1000 - 800 = 200 for extra hours = . 75 ( 20 ) = 15 + 20 = 35 number of extra hrs = 200 / 35 = 5.71 = 6 approx . total hrs = 40 + 6 = 46 answer a 46"
add(40, divide(subtract(1000, multiply(20, 40)), divide(multiply(20, add(const_100, 75)), const_100)))