i have a problem that said using computer program. to plot complex number

w(z)=z-2

- plot function as real and imaginary parts, ie... plot real part of w as a function of z = x+iy on [x,y] plane and plot the imaginary part in the same way.

-plot the magnitude and phase of w(z) as a function of z=x+iy on the [x,y] plane.

thanks for your help.