Write out a quadratic equation of one variable with one root of 2 and the other root of 1

Write out a quadratic equation of one variable with one root of 2 and the other root of 1

An equation with two roots and one root
Then:
(x-2)(x-1)=0
x²-3x+2=0