input: Write a python function to solve a system of linear equations using Cramer's rule.
  assert optimize((1, 2, 5), (2, 1, 6))==(4.0, 0.5)
  assert optimize((1, -1, 0), (2, 3, 8))==(2.0, 2.0)
  assert optimize((1, 1, 2), (2, 2, 4))=="No solution"
output: import numpy as np
  
  def optimize(eq1, eq2):
      a, b, e1 = eq1
      c, d, e2 = eq2
      
      # Calculate the determinants
      det_main = a * d - b * c
      det_x = e1 * d - b * e2
      det_y = a * e2 - e1 * c
      
      if det_main == 0:
          return "No solution"
      
      x = det_x / det_main
      y = det_y / det_main
      
      return x, y