so we have a base, hmmm which is 21, now is a base so that's area, not length, so we're assuming is 21 meters² and it has a height of 12 meters.
Let's nevermind the 12 meters in height, we know the pool has a base of 21 m² and if it's filled up to 3 meters, the volume of that triangular prism is simply the product of the base and the height of 3 meters, so (21 m²)(3 m) = 63 m³.