\(\frac{2n^2}{2n} \\~\\ =\frac{2\,\cdot \, n\,\cdot \, n}{2\,\cdot\, n}\)
The 2's in the numerator and denominator cancel.
\(=\frac{\not2\,\cdot \, n\,\cdot \, n}{\not2\,\cdot\, n} \\~\\ =\frac{n\,\cdot \, n}{n}\)
The n's in the numerator and denominator cancel.
\(=\frac{n\,\cdot\, \not{n}}{\not{n}} \\~\\ =n\)
(Also, when we canceled the n from the denominator we should say n ≠ 0 )
.