Wednesday+Middles

George is 5 years younger than Emma and Julie is 6 years older than Emma.

If the sum of their ages is 40.

How old is each person?