Given complex number is 2-7i
Compare the above equation with x+iy
Here x=2 and y=-7
Substitute the obtained values in polar form