Solve a system of two linear equations and unit tests.