HINTS: For $d\in\Bbb Z$ let $C_d=\{\langle m,n\rangle\in A:m-n=d\}$.
- Show that each $C_d$ is an equivalence class of $R$, and each equivalence class of $R$ is one of the sets $C_d$.
To show that each $C_d$ contains exactly one element $\langle m,n\rangle$ such that at least one of $m$ and $n$ is $0$, you must do two things:
- prove that each $C_d$ contains at least one such element, and
- prove each $C_d$ contains at most one such element.
You can do (1) by simply exhibiting an specific element of $C_d$ that has at least one $0$ component: there is one that has a very simple description in terms of $d$. You can do (2) by assuming that $\langle m,n\rangle$ and $\langle h,k\rangle$ are such elements and using the fact that they are both in $C_d$ to show that they must in fact be equal.