How to find the portion !!-rectangle.png

In this rectangle, the area where X,Y Z all are on x-axis together is equal to underrootZ. Can you please tell me the formula how can I determine the portion of X or Y or Z in this UnerrootZ