The roots of polynomial $ p(n) $ are:
$$ \begin{aligned}n_1 &= 6\\[1 em]n_2 &= \frac{ 2 }{ 3 } \end{aligned} $$The solutions of $ 12n^2-80n+48 = 0 $ are: $ n = \dfrac{ 2 }{ 3 } ~ \text{and} ~ n = 6$.
You can use step-by-step quadratic equation solver to see a detailed explanation on how to solve this quadratic equation.