Let the smaller tap takes x hours to fill the tank.
Then, the larger one takes (x − 2) hours to fill the tank.
Tank filled in 1 hour by smaller tap =
Tank filled in 1 hour by larger tap =
Tank filled in 1 hour by both the taps =
According to the question,
Hence, the time in which each tap can fill the tank separately is 5 hours and 3 hours respectively.