input: Write a python function to optimize cost given two inputs x and y.
  assert optimize_cost(1, 1) == 11
  assert optimize_cost(2, 3) == 31
  assert optimize_cost(0, 0) == 0
output: def optimize_cost(x, y):
      return 10 * x + 20 * y + x * y