Given $27w^2+20w+35 \equiv 0 \pmod{23}$
How to solve this quadratic congruence? All hints are welcome. I completed the square ,so I obtained $27(x+\frac{10}{27})^2+\frac{845}{27} \equiv 0 \pmod{23} $ I need to get 2 solutions in the least residue system which are the correct answers: $w\equiv 6 \pmod{23}$ and $w \equiv 12 \pmod{23}$