To be an equivelence relation it must be

Reflexive

Symmetric

and

Transative if

Reflexive yes becuause

symmetric yes because if

for some integer q, factoring we get

so

Transative

and

solving the 2nd for we get

sub this into the first one to get

This tells us that

for part two think graphically. Good luck.