The figure on the picture is parallelepiped (or right rectangular prism), whose volume is icalculated as V=lwh, where l measures the length, w measures the width and measures the altitude of parallelepiped.
In your case, l=4 units, w=2 units, h=3 units and V=4×2×3=24 cubic units.