A,B,C Working together can fill the tank in t minutes, also A was on for entire duration of t minutes - a key detail which I overlooked and assumed the time each pipe was running was mutually exclusive, it is not really the case.
Also, A & B can fill the tank in t minutes, B ran only for first 10 mins and each PIPE FILLED EQUAL PORTION OF THE TANK
With this given information we can safely determine:
1. Each Pipe filled \(\frac{1}{3}\) parts of the tank => B can fill the tank in 30 mins and A can fill the tank in 3t mins working alone at its constant rate.
2. Using our findings from (1) we can calculate value of t, as t = combined time taken by pipes A & B to fill the tank together
=> \(\frac{30*3t}{3t+30 } = t \)
=>\(\frac{90t}{3t+30 } = t \)
=>\(\frac{30t}{t+10 } = t \)
=>\( t^2+10t = 30t\)
=>\( t^2-20t = 0\)
=>\( t(t-20) = 0\)
=>\( t = 0 \) or \(t = 20\)
Obviously t can't be 0 so t = 20
Now a key detail in the question was C started 2 mins after B was closed which means C started 12 mins after B was first opened (∵ B ran for 10 mins)
We know the tank was filled in 20 mins so C only ran of 20-12 = 8 mins
Which using information as stated in (1) means C filled \(\frac{1}{3} \) part of tank in 8 mins that means it could have filled the entire tank in 3*8 = 24 mins by itself. Option (C)
Hope this clears things! Cheers