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 hour for the first 40 hours and 2 x dollars for each additional hour worked that week . last week james worked a total of 50 hours . if harry and james were paid the same amount last week , how many hours did harry work last week ?
"amount earned by james = 40 * x + 10 * 2 x = 60 x therefore , amount earned by james = 60 x but we know the amount harry earned assuming working y hours ( y > 30 ) is 30 * x + ( y - 30 ) * 1.5 x [ [ we know y > 30 because in 30 h the most harry could earn is 30 x , but he has earned 60 x ] ] so x * ( 1.5 y - 45 + 30 ) = 60 x or x * ( 1.5 y - 15 ) = 60 x so 1.5 y - 15 = 60 so 1.5 y = 75 so y = 50 answer is e"
add(divide(subtract(add(40, 2), 30), 1.5), 30)