There are two possible answer answer is this problem since no diagram is given
First if XZ is the longest side
XZ < Xy + YZ
XZ < 31 + 21
The possible length of XZ = 51 mm
If XZ is not the longest length
YZ < XZ + XY
31 < 21 + XZ
So the possible length of XZ = 11 mm