Let the volume of the cistern be V.
Together two pipes take 3113 mins=40/13
Rate of both the pipes together =V(40/13)
Let pipes be A and B,
Time taken by A=t mins, So rate =V/t
Time taken by B=t+3 mins, So rate =V/(t+3)
Combined rate =V/t+V/(t+3)
we already know that combined rate =V/(40/13)
Equating both,
V/t+V/(t+3)=V/(40/13)
1/t+1/(t+3)=13/40
(t+3+t)/t(t+3)=13/40
(2t+3)/(t2+3t)=13/40
80t+120=13t2+39t
13t2−41t−120=0
On solving the quadratic equation we get t=5 and t=−1.846,
since time cannot be negative.
Therefore,
Time taken by pipes A=5 mins
Time taken by pipes B=5+3=8 mins