It rather easy/basic question and I feel ashamed asking it but I can't figure it out.
If I know that $n_{3}\equiv1\pmod 3$ and $n_{3}\mid 7$, how to calculate $n_3$? I know that the answer is $n_{3}\in \{1,7\}$, but why?
Similarly, if we know that $n_{7}\mid 3$ and $n_{7}\equiv1\pmod 7$ why $n_7=1$?
Well if $n_3$ divides $7$, then $n_3$ must be either $1$ or $7$, since $7$ is prime. The first condition doesn't change that.
The same logic applies for your second part. Perhaps you could elaborate on what you're struggling with?