Firstly modulus (z) represents the magnitude value of z, which root (x^2 + Y^2), if we take square of modulus (z), then we have to take the value of (x^2 + Y^2).

Second one for the 2, i think it was given in question, if you an problem plz reupload the we will solve it.