solve_2x2
test cases of solve_2x2