Hi I was solving a question and now I'm stuck at this part .
$-6x\equiv 16 \pmod p $
$2x\equiv 1 \pmod p $
where $p$ is a prime number.
I need to find all prime numbers that satisfy these congruences.
I think that Chinese remainder theorem might help somehow but I don't see it.