Solving with Cramer's Rule
Determinants solve a 2×2 system directly.
Concept
Replace a column, take a ratio
For Ax = b, Cramer's rule gives x = det(A with column 1 replaced by b) / det(A), and similarly for y with column 2.
It only works when det(A) ≠ 0 — exactly when the system has a unique solution.
x = det(A₁)/det(A), y = det(A₂)/det(A)