Consider the polynomial P(x) = x^4 - 3x^3 + 5x^2 - 7x + 9. Let its four roots be a, b, c, d.
Evaluate the expression (a + b + c)(a + b + d)(a + c + d)(b + c + d).
The sum of all the roots is 3/1 = 3
so the expression can be changed to
(3-d)(3-c)(3-b)(3-a)
now expand and then use Vieta's formulas to solve