Suppose that one pipe takes N hours to fill the reservoir. Then another pipe takes (N - 10) hours.
∴ 1/N + 1/(N - 10) = 1/12
⇒ 12(N - 10 + N) = N(N - 10)
or N2 - 34N + 120 = 0
or (N - 30)(N - 4) = 0
∴ N = 30 or N = 4
So, the faster pipe takes 30 hours to fill the reservoir.