Answer
$V=x(x+y)(x-y)$
Work Step by Step
Using $V=x^3$ or the volume of a cube, then the volume of the entire cube is $V=x^3$ and the volume of the hole is $V=xy^2.$ Subtracting these two volumes, then the volume of the solid figure is
\begin{array}{l}\require{cancel}
V=x^3-xy^2
\\
V=x(x^2-y^2)
\\
V=x(x+y)(x-y)
.\end{array}