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