We have been given that the base of the prism is a trapezoid. Hence, first of all we find the area of the trapezoid.
Trapezoid has height 3 cm and bases of 2 cm and 5 cm.
Hence, the area of the trapezoid is given by

Therefore, the volume of the right prism with height h=10 cm is given by

Therefore, the volume of the right prism is 105 cubic centimeters.