Substituting 
w=−1+5i into the equation
LHS=w2+(−1−8i)w+(−17+7i)=(−1+5i)2+(−1−8i)(−1+5i)+(−17+7i)=(1−10i−25)+(41+3i)+(−17+7i)=0=RHS Hence 
−1+5i is a root of the equation 
■Let 
α=−1+5i and 
β be the second root of the equation
w2+(−1−8i)w+(−17+7i)=(w−α)(w−β)=w2−(α+β)w+(αβ) Comparing coefficients and letting 
α=−1+5i,−(−1+5i+β)=−1−8iβ=2+3i■