Find all values of p, such that the roots of $$f(x) = x^3 + 8x^2 + px + 12$$ satisfy $x_1 + x_2 = x_3$
So I was trying to use the Viet formulas, and I get: $$x_1 + x_2 + x_3 = -8$$ $$x_1x_2 + x_1x_3 + x_2x_3 = p$$ $$x_1x_2 x_3 = -12$$ $$x_1 + x_2 = x_3$$ But I can't find an easy way to get a formula for p. Any tips?