Here is another explanation for the water (even though I like my 1st answer better)
1) Fill up the 3 quart pail and then pour it into the 5 quart pail.
2) Fill up the 3 quart pail again and add it to the 5 quart pail.
3) This leaves you with 1 quart of water in the 3 quart pail.
4) Throw out the water in the 5 quart pail.
5) Add the 1 quart of water in the 3 quart pail to the empty 5 quart pail.
6) Fill up the 3 quart pail and pour it into the 5 quart pail.
Now you have 4 quarts of water
Hope that helps, welcome and good night