input: Write a function to compute the median of a trapezoid.
  assert median_trapezoid(15,25,35)==20
  assert median_trapezoid(10,20,30)==15
  assert median_trapezoid(6,9,4)==7.5
output: def median_trapezoid(a, b, h):
      return (a + b) / 2