using modular arithmetic we take the mod 3 and mod 8 at both sides we find that y=1(mod3) and x = o (mod 8)