To solve this problem, we have to multiply the volume of the fish tank to the density of the fishes in the tank. By doing this, the cubic feet units will be cancelled and what will be left is the number of fishes in the tank.
(0.4 fish / ft³ )(40 ft³) = 16 fishes