Question 113001
{{{y=x^2-2x+2}}} Start with the given equation



{{{y=(1+i)^2-2(1+i)+2}}} Plug in x=1+i



{{{y=1+2i+i^2-2(1+i)+2}}} Foil



{{{y=1+2i-1-2(1+i)+2}}} Replace {{{i^2}}} with -1



{{{y=1+2i-1-2-2i+2}}} Distribute



{{{y=1-1+2i-2i+2-2}}} Group common terms together. This step is optional, but I'm trying to show you that everything cancels


{{{y=cross(1-1)+cross(2i-2i)+cross(2-2)}}} Cancel like terms



{{{y=0}}} So after canceling, we get this



So when x=1+i, {{{y=0}}}