A line XY is produced to a point Z such that (YZ - XY)^2 = XZ = XY.

Given that YZ = 9cm, find

(a) the length of XY,

(b) the ratio YZ : XZ


Please explain your workings. Thanks a lot. :-)