Pour away the contents of the 3 litre can.Empty the 5 litre can into the 3 litre can - leaving 2 litres in the 5 litre can.
There are two ways to solve this, maybe the question could be modified to say the 5 litre can doesn't fit under the tap. Before reading the answer can I interest you in a clue?