The first one is: $x^2 \equiv109(\mod157)$.
The second one is: $x^2 \equiv141(\mod181)$
I tried using some properties but didn't really get anywhere... $ \frac{109}{157} = \frac{157}{109} = \frac{157}{1 \mod 2} \space \text {and} \space 157 \mod{109} = 48 \mod{109}$. If someone could show me how to solve the first, I think I should be able to do the second.
Many thanks.
We first have to see whether $109$ is a quadratic residue modulo $157$. Using the Legendre symbol; we have $$\Big(\frac{109}{157}\Big)=\Big(\frac{157}{109}\Big)=\Big(\frac{48}{109}\Big)=\Big(\frac{16}{109}\Big)\Big(\frac{3}{109}\Big)=\Big(\frac{3}{109}\Big)=1,$$ where we used, in order
Since $109$ is a quadratic residue modulo $157$; the congruence $x^2\equiv 109\bmod 157$ is solvable.