\[ x^2-5x+6=0 \quad\Rightarrow\quad x=2 \text{ or } x=3 \]
Key idea: factor the quadratic. Find two numbers whose product is \(6\) and whose sum is \(-5\). Those are \(-2\) and \(-3\):
\[ x^2-5x+6=(x-2)(x-3) \]
So:
\[ (x-2)(x-3)=0 \]
By the zero-product principle, one factor must be zero:
\[ x-2=0 \quad\text{or}\quad x-3=0 \]
Hence:
\[ x=2 \quad\text{or}\quad x=3 \]
Check:
- For \(x=2\): \(2^2-5(2)+6=4-10+6=0\)
- For \(x=3\): \(3^2-5(3)+6=9-15+6=0\)
Both solutions work.