Is this correct? Please help I have a test on this 11. Work backwards to write a quadratic equation that will have solutions of x = 12 and x = 2.

EXPLANATION
Given the variables:
x=12 and x=2
Supposing that both values are roots of a quadratic equation:
x-12 = 0 x -2 = 0
Multiplying both roots:
(x-12)(x-2) = 0
Applying the distributive property:
[tex]x^2-2x-12x+12\cdot2=0[/tex]Adding and multiplying like terms:
[tex]x^2-14x+24=0\text{ \lbrack{}SOLUTION\rbrack}[/tex]