Solution:
We apply three-dimensional barycentric coordinates with reference tetrahedron ABCD. The given conditions imply that
XYMZ=(0:1:2:4)=(14:1:2:4)=(0:1:0:1)=(t:1:0:1)
for some real number t. Normalizing, we obtain Y=(2114,211,212,214) and Z=(t+2t,t+21,0,t+21). If YZ intersects line BC then there exist parameters α+β=1 such that αY+βZ has zero A and D coordinates, meaning
2114α+t+2tβ214α+t+21βα+β=0=0=1
Adding twice the second equation to the first gives 2122α+β=0, so α=−22,β=21, and thus t=27. It follows that Z=(7:2:0:2), and ZMAZ=72+2=74.