It was a question in a calculus textbook and I didn't know how he did the algebra between these steps
$$ \lim_{n\to \infty} \frac{81}{4}\left(\frac{n(n+1)}{2}\right)^2-\frac{54}{n^2}\frac{n(n+1)}{2} $$
$$ \lim_{n\to \infty} \frac{81}{4}\left(\frac{1}{n}+1\right)^2-27\left(\frac{1}{n}+1\right) $$
How did he go from the first to the second step?