Solve by Factoring n^2-10n+22=-2