You can
put this solution on YOUR website!assuming you have a regular shape, then:
volume = (cross-sectional area)*(length)
so, for your trapezium, its volume is given by area*length.
area of trapezium = (h/2)(a+b), where a and b are the 2 parallel sides and h is the perpendicular distance between them.
so vol = (h/2)(a+b)*length
jon.