input: Write a python function to solve a system of linear equations using the given coefficients.
  assert solution([[1, 2, 8], [3, -4, -2]])==(2.0, 3.0)
  assert solution([[2, 3, 13], [1, 4, 10]])==(3.0, 2.0)
  assert solution([[1, -1, 2], [3, 4, 10]])==(2.0, 0.0)
output: def solution(equations):
      a1, b1, c1 = equations[0]
      a2, b2, c2 = equations[1]
      
      determinant = a1 * b2 - a2 * b1
      if determinant == 0:
          return None  # No unique solution exists
      
      x = (c1 * b2 - c2 * b1) / determinant
      y = (a1 * c2 - a2 * c1) / determinant
      
      return (x, y)