Answer:

Explanation:
The volume V of the fountain is equal to:
V = L*W*h
Where L is the lenght of the fountain, W is the width of the fountain and h is the high of the fountain
We already know that h is equal to x. On the other hand, if we cut a square with side of length x, L and W are calculated as:
L = 18 - 2x
W = 12 - 2x
So, replacing L, W and h on the equation of the volume, we get:
V = (18-2x)*(12-2x)*x
Finally, simplifying the function we get:

