Let the first pipe fill the cistern in x minutes, then the second pipe requires x+5 minutes to fill it.
Applying the concept of the Unitary Method,
In one minute, both pipes will fill the part of cistern as below;
1x+1x+5=16
x+5+xx2+5x=16
(2x+5)x2+5x=16
12x+30=x2+5x
x2−7x−30=0
On factorising the same.
x2−10x+3x−30=0
x(x−10)+3(x−10)=0
(x−10)(x+3)=0
∴x=−3orx=10
Then
the first pipe will fill the cistern in x minutes i.e., 10 minutes
and the second pipe will fill the cistern in x+5 minutes i.e., 15 minutes.