The diagram shows a glass component in the shape of a prism. The cross-section of the prism is a trapezium. The parallel sides of the trapezium are 12 mm and 18 mm long. The height of the trapezium is 10 mm. The component has a length of 30 mm.

Work out the volume of the glass component.