Let the time taken by one pipe to fill the tank be x minutes.
Time taken by the other pipe to fill the tank = (x+5) min
Suppose the volume of the tank be V.
Volume of the tank filled by one pipe in x minutes = v/x
Time taken by one pipe to fill the tank = 20 min Time taken by other pipe to fill the tank = (20 + 5) = 25 min