Assuming the extra character چ is a typo, the equation is
\[ x^2-5x+6=0. \]
Answer: \(x=2\) or \(x=3\).
How to solve it
Look for two numbers whose product is \(6\) and whose sum is \(-5\): \[ -2 \cdot (-3)=6,\qquad -2+(-3)=-5. \]
Factor: \[ x^2-5x+6=(x-2)(x-3). \]
Use the zero-product rule: \[ (x-2)(x-3)=0, \] so \[ x-2=0 \quad\text{or}\quad x-3=0. \]
Thus, \[ x=2 \quad\text{or}\quad x=3. \]
Check: \[ 2^2-5\cdot2+6=4-10+6=0, \] \[ 3^2-5\cdot3+6=9-15+6=0. \]
Both values work.