PDF chapter test TRY NOW

For what values of '\(p\)' the quadratic equation \(x^2 + p(2x + p - 1) + 2= 0\) has equal roots? Also, find the roots of the quadratic equation.
 
p=i
 
x=i,i