I was dealing with this problem:
Find $\inf A$ and $\sup A$ if
$$A=\{\frac{2mn+4m+3n+2}{2m-mn+2-n}: m,n\in\Bbb N\}$$
I have to separate this set into 2 sets to make things easier, like this:
$A_1=\{-\frac{2m+3}{m+1}:m\in \Bbb N\}$ and $A_2=\{\frac{8}{2-n}:n\in\Bbb N\}$
So $A=A_1+A_2$. Now I would know how to find $\inf$ and $\sup$, but my question is how did someone come up with $$\frac{2mn+4m+3n+2}{2m-mn+2-n}=-\frac{2m+3}{m+1}+\frac{8}{2-n}$$ I understand that $2m-mn+2-n=(m+1)(2-n)$ but what do you do in the numerator to get something that will cancel out?