If the roots of the equation were 3 and 5, the factors would be x-3 and x-5 and the equation would be the product of the factors = (x-3)(x-5) = x^2 -8x +15.
Subtract the roots from x to show the factors which are
x-(-2+sqrt(6)) and x - (-2-sqrt(6)) = x+2-sqrt(6) and x+2+sqrt(6). To find the equation multiply those factors together (multiply each term of the second factor by each term of the first factor).
Hope the solution helped. Sometimes you need more than a solution. Contact fcabanski@hotmail.com for online, private tutoring, or personalized problem solving (quick for groups of problems.)