just want to add another solution i guess
Fill the 7l bucket with liquid, then pour 3l of liquid to the 3l bucket.
So that the 7l bucket has 4l of liquid and 3l bucket is full.
Empty the 3l bucket then pour another 3l of liquid from the 7l bucket.
So that the 7l bucket has 1l of liquid and 3l...