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 42 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 + 2 * 2 x = 44 x dollars ; we know that harry also earned the same 44 x dollars , out of which he earned 30 x dollars for thefirst 30 hoursplus 14 x additional dollars . since for each additional hour he gets 1.5 x dollars then he worked for 14 x / 1.5 x = 9 additional hours , so harry worked for total of 30 + 9 = 39 hours . answer : e ."
add(divide(subtract(add(40, 2), 30), 1.5), 30)