each week , harry is paid x dollars per hour for the first 30 hours and 1.5 x dollars for each additional hour worked that week . each week , james is paid x dollars per per hour for the first 40 hours and 2 x dollars for each additional hour worked that week . last week james worked a total of 45 hours if harry and james were paid the same amount last week , how many hours did harry work last week ?
"james worked for 41 hours hence he earned 40 * x + 5 * 2 x = 50 x dollars ; we know that harry also earned the same 50 x dollars , out of which he earned 30 x dollars for thefirst 30 hoursplus 20 x additional dollars . since for each additional hour he gets 1.5 x dollars then he worked for 20 x / 1.5 x = 13 additional hours , so harry worked for total of 30 + 13 = 43 hours . answer : d ."
add(divide(subtract(add(40, 2), 30), 1.5), 30)