I'm beginning to get into maths outside of school and at the moment I'm refreshing myself on the basics which explains why this question appears to be so simple.
I formulated this equation to find the answer to a question:
$n^2 = 18n$
I then manipulated it to:
$n^2 - 18n = 0$
So this is now a quadratic equation (right?), the problem is that there are 2 solutions.
$(n-6)(n+3) = 0$
$(n-9)(n+2) = 0$
In this case, are both solutions acceptable or am I doing something wrong?
There's your problem:
$$(n-6)(n+3) = n^2 - 6n - 18 \neq n^2 -18n$$
Also
$$(n-9)(n+2) = n^2 - 7n - 18\neq n^2 - 18n$$
However, you can simplify $$n^2-18n =n(n-18)$$