mathematical word problems involving two people working together

This is also known as ‘the cistern problem’ (two pipes filling a cistern at different rates…).
Here is the link to a discussion of it.
(The discussion contains confusing wording of the solution, but if you read the entire passage you get the correct statement of the solution. The solution is ‘half the harmonic mean of the times’.)