Source: https://www.bigmaths.weebly.com/uploads/7/1/2/6/7126217/exo-congruence_correc.pdf