maths factorial question
have a question here where the task is to simplify this term to minimum constituents. the term is
{n[n!+(n-1)!]} + [n^2 (n-1)!] + (n+1)!
i am getting the answer as (2n+2)! + (n*n!) whereas the correct answer is (3n+2)*n!, now after looking at the answer i was able to derive the correct final answer, but i hadnt made any mathematical mistake and only the format was wrong so i was wondering if theres any way to be able to equate the two of my final answers.