TLDR
$ (557p-127q) \equiv s^{-1} \pmod{n} $
Solve system of linear equations with above and $ n = pq $
Now that you have p and q, rest is standard RSA.
[Original writeup](https://lucaschen1000.github.io/downunder-ctf#baby-rsa)