The question starts with this:
Given the following relation S on Z×Z where Z= {a, b, c, d, e}: S={(a, a),(b, b),(a, b),(b, a),(c, c),(d, d),(e, e),(c, e),(d, e),(e, c),(e, d)}
Then it asks to see if it is an equivalence relation.
I think I'm missing something because doesn't Z x Z =
{(a,a),(a,b),(a,c),(a,d),(a,e),(b,a),(b,b),(b,c),(b,d),(b,e),(c,a),(c,b),(c,c),(c,d),(c,e),(d,a),(d,b),(d,c),(d,d),(d,e),(e,a),(e,b),(e,c),(e,d),(e,e)}