Four Liters from Two Flasks

In a chemistry lab you find a tap with unlimited distilled water and two unmarked glass flasks: one holds exactly 3 liters when full, the other exactly 5 liters. Neither has any graduation lines, and you may only fill a flask to its brim, dump one out, or pour between them. The experiment calls for precisely 4 liters of water. How do you measure it?

Answer

Free accounts unlock one worked solution a day. Pro includes every answer.