Height of the pyramid is
and its rectangular base measurements are
and
.
Draw the side view of the pyramid with longer side of the base facing out side and height
is along the
axis.

Observe the figure,
\Equation of the
is a line passing through the origin which is in the form of
.
Where
.
Here,
.
Therefore,
.
Substitute
in
.
.
Find the area function of the rectangular base.
\
.
Substitute
in above expression.
.
Find the volume of the pyramid by integrating the area with respect to
over the limits
to
.
.
Substitute
in above expression.


.
Volume of the pyramid is
.