Define $x\sim y$ means 5 divides $(x - y)$ for $x$ and $y$ integers. Show that is an equivalence relation.
Equivalence relation means it satisfies reflexity, symmetry, and transitivity.
reflexive: $x\sim x$ means 5 divides $x$
symmetry: $x \sim y \rightarrow y\sim x$ means 5 divides $x - y$ and 5 divides $y - x$: $$5/(x - y) = 5/(y - x)$$ so symmetry is satisfied.
I am not sure if I am right here and I am lost on how to prove it is transitive any suggestions would be greatly appreciated
Notice that you need to show each of these steps, though you simply stated them.
Reflexive: $ x\sim x \implies 5|(x -x )$. In fact, $0 = 0 \cdot 5$ then in fact $%$ divides $0$.
Symmetry: $ x \sim y \implies y \sim x$ means that if $5 | (x - y)$ then $$(x-y) = 5\cdot k \implies -(y-x) = 5 \cdot k \implies (y - x) = 5 \cdot (-k)$$
and in fact $5$ divides $(y-x)$.
$$(x - y) = 5 \cdot k \ \ \text{and} \ \ (y -z) = 5 \cdot k' \implies x - 5 \cdot k - z = 5 \cdot k' \implies x - z = 5\cdot (k' + k)$$
Conclusion $5 | (x - z)$.