you would fill the 5 gallon container with the 3 gallon container so that there is 3 gallons in the 5 gallon.
Then you fill the 3 gallon container and fill up the rest of the 5 gallon container. that means you would pour 2 gallons into the already 3/5 filled 5 gallon container,
that will leave...