Given: The dimension of an acquuarium modelled as a right rectangular prism as below

To Determine: The length of the acquarium
Solution
The volume of a rectangular prism can be calculated using the formula below

Let us substitute the given dimension into the formula above to calculate the length

Hence, the length of the 18 inches