Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2009/ia/paper-4/2e/a/solution

Eliminate by twice the first modular congruence minus three times the second. This gives
The modular inverse of is , because . Hence . Substitution into the second modular congruence gives , and , so . Thus
In particular, works: and . The elimination is reversible because and have modular inverses, so the displayed classes contain all solutions.

New to topics? Read the docs here!