I kept doing the math on my whiteboard repeatedly not realizing your math is wrong.
Given:
Machine A = 50 hours (Rate = 1/50)
Machine B = 60 (Rate = 1/60)
Machine C = 75 hours (Rate = 1/75)
All three machines started working together on the task. However, Machine A stopped working after 10 hours.
In 10 hours, all the three machines together completed = (1/50+1/60+1/75)*10 work which simplifies to 1/5
So in the first 10 hours, all three machines together finished 1/5th of the work
Now 4/5th of work is remaining
Machine B stopped 15 hours before the task was completed => Machine C worked alone for 15 hours
In 15 hours, Machine C would complete : (1/75)*15 => 1/5th of the work => 4/5-1/5 = 3/5
Now 3/5th of the work was completed by both B and C before B stopped working.
3/5 = (1/60+1/75)t => t = 20
Thus Machine B and C worked together for 20 hours.
Adding them all up, we get 10 + 15 + 20 => 45
Thus total 45 hours were required. (E)