If (1−i1+i)50=x+iy ,then find the value of (x,y).
If x+iy=√a+ibc+id,then write the value of (x2+y2)2.