Dr. Pinter's "A Book of Abstract Algebra" presents the following exercise:
Prove that each of the following is a partition of the indicated set. Then describe
the equivalence relation associated with that partition.For $r \in \lbrace 0,1,2,...,9\rbrace$, let $A_r$ be the set of all the integers whose units digit (in decimal notation) is equal to $r$.
Prove: $\lbrace, A_0, A_1, A_2, ...,A_9\rbrace$ is a partition of $\mathbb{Z}$
I believe that the following diagram represents $A_r$:

Where $A_0 = [0], A_1 = [1], ...$.
As a result, it's a partition since:
$A_0 \cap A_1 \cap \text{...} \cap A_9=\emptyset$
$A_0 \cup A_1 \cup \text{...} \cup A_9=A$
Does this proof show a partition in $A_r$?
Also, please give me a hint on how to answer the equivalence relation.
I suppose that you know that, given an equivalence relation on a set $S$ , the set of its equivalence classes is a partition of $S$.
In your case the equivalence relation, defined for $m,n $ integers,is:
This is the relation that define the sets of the partition, that are the equivalence classes.
Showing that this relation is reflexive, symmetric and transitive ( it's easy) you show that it is an equivalence relation and that its equivalence classes are a partition.