A horizontal line separates the solid figure into two rectangular
prisms. Write an expression for the volume of the solid figure.