You have a 5 gallon jug and a 3 gallon jug.
You have no other measuring devices.
Measure out exactly 4 gallons of water (Assume you have a river handy, or some other limitless water supply).
that is what i got before reading any comments
good going! seems easier than the solution posted