Formula to find volume of trapezoid