So here's my attempt : $${(n-1)(n-2)(n-3)! \over (n-3)!} = 30$$
$${(n-1)(n-2)} = 30$$
then $$n-1 = 30$$ or $$n-2 = 30$$ then $$n = 31$$ or $$n = 32$$
but my textbook says
$$(n-1)(n-2) = 6 * 5$$
then $$(n-1) = 6$$ then $$n = 7$$
which does make any sense to me this should have been like any other factorize , can someone please explain the steps of the textbook to me , thanks in advance
$$\require{cancel} \frac{(n-1)!}{(n-3)!}=30\\ \frac{\cancel{(n-3)!}(n-2)(n-1)}{\cancel{(n-3)!}}=30\\ (n-2)(n-1)=30\\ n^2-3n+2=30\\ n^2-3n-28=0 $$
All you have to do now is solve that quadratic equation in $n$.
$$ n=\frac{3\pm\sqrt{9+4\cdot28}}{2\cdot1}=\frac{3\pm11}{2}\implies\\ n=7,\ n=-4 $$
$n=-4$ should be discarded as an extraneous solution because factorials of negative numbers are not defined (if you plug it into the original expression, it will give you factorials of negative numbers which cannot be calculated).