ORIGINAL: whitetailbowhunter
Ok If they are symmetrical I would measure how high the 3 gallon goes on the 5 gallon and make a mark leaving 3 gallons below the mark and 2 gallons above the mark. Then I would place then 3 gallon on the line a mark where the top of the 5 gallon is on the 3 gallon then i would ill up the 3 gallon up to the line twice and dump it in the 5 gallon. And presto! 4 gallons*Note this only works if they are both as deep and as wide.*

what do i win?
Nothing, you don't have a marker, a rock, a stick, an anything. I didn't tell you, you can't mark anything. Now back to the well you go.
ORIGINAL: MOTOWNHONKEY
I would fill the the 3 gallon jug, then fill the 5 gallon jug half full. I would proceed to drink the contents of the five gallon jug and wait 15 minutes. When I could no longer hold the 2 and 1/2 gallons in my bladder I would release it but stop it before exit. Knowing my anatomy that would be exactly one gallon. Pour the three in the five and add the one, problem solved.
I didn't tell you if you returned with yellow water you would also be put to death. Death by (follow) over-hydration in your case.