Answer:
E is 56 years old
Explanation:
I assume E joined them now.
(A - 6 + B - 6 + C - 6 + D - 6)/4 = 30
(A + B + C + D + E)/5 = 40
(A + B + C + D - 24)/4 = 30
A + B + C + D - 24 = 120
A + B + C + D = 144
(A + B + C + D + E)/5 = 40
A + B + C + D + E = 200
144 + E = 200
E = 56