The right-hand side of your equation got cut off after the "=" sign. This task almost always reads \(x^{2}-5x+6=0\), so here is the full solution for that version — the method stays the same for any number on the right.
Answer: \(x=2\) or \(x=3\).
Key steps
- You need two numbers whose product is \(6\) and whose sum is \(5\). Those are \(2\) and \(3\), because \(2\cdot 3=6\) and \(2+3=5\).
- That gives the factorisation: \[x^{2}-5x+6=(x-2)(x-3)\]
- A product equals zero only when one of its factors is zero: \[x-2=0 \quad\text{or}\quad x-3=0 \;\Rightarrow\; x=2 \text{ or } x=3\]
Check
- Substituting: \(2^{2}-5\cdot 2+6=4-10+6=0\) ✓ and \(3^{2}-5\cdot 3+6=9-15+6=0\) ✓
- With the quadratic formula you get the same result: \[x=\frac{5\pm\sqrt{25-4\cdot 6}}{2}=\frac{5\pm 1}{2}=3 \text{ or } 2\]
If the right side is a different number
Move everything to the left first, e.g. for \(x^{2}-5x+6=c\) solve \(x^{2}-5x+(6-c)=0\). For instance, \(x^{2}-5x+6=6\) becomes \(x^{2}-5x=0\), so \(x(x-5)=0\) and \(x=0\) or \(x=5\).
Is the right-hand side of your equation really \(0\)?