First, we will pour 3 L jar 2 times which amounts to 6 L, and then add 4 L from 4 L jar.
So, 3*2+4=6+4=10