Answer:
Option E
Explanation:
I) $3$ years ago, $\frac{1}{2}(X+Y)=18$
$\Rightarrow 3$ years ago, $(X+Y)=36$
Now, $\frac{1}{3}$ $=(36+3+3)$
$=42$ $\Rightarrow (X+Y)=42$---(1)
II) Now, $\frac{1}{3}(X+Y+Z)=22$
$\Rightarrow X+Y+Z = 66$ ---(2)
From I and II, we get $Z - (66-42)$ $=24$
Thus, I and II both together give the answer. So, correct asnwer is (E).