Let p = the time which the faster pump takes, then p + 2 is the time the slower pump takes.
The equation which describes this situation is
(1/p) + [1/(p+2)] = 12/5 which is the time (in hours) which is needed by both pumps together.
This equation resolves to a quadratic 5p2 - 14p -24 for which the only usable root is p = 6/5.
Now the question always comes up: why is this equation is correct?
The answer is that the reciprocal of the time is a RATE, and the quantity of work to be done is "job", in this case "fill the pool". If that explanation isn't clear enough, please let me know.