function graph

The graph above is of the function f(x)\displaystyle {f{{\left({x}\right)}}}.
The region bounded by the x\displaystyle {x}-axis, f(x)\displaystyle {f{{\left({x}\right)}}}, and the lines x=4\displaystyle {x}={4} and x=6\displaystyle {x}={6} form the base of a solid whose cross sections perpendicular to the x\displaystyle {x} axis are squares.
Determine the integral used to find the volume of this solid.
integral symbol