Lol sry got stuck on this past quesiton

consider z^2 + az+ (1+i)=0 , find the complex number a, given that i is a root of the equation

so (x-i) is a factor thing

z= -a +_ sqroot a^2 -4 -4i

----------------------------

2

then let sqroot a^2 -4 - 4I =c+ib

lol i don't know where to go after that.