The formula for the volume of a cone is (you can remember it like this: it's literally just 1/3 the volume of a cylinder, just as a pyramid is 1/3 the volume of a prism)
We know that the diameter is 12...the radius is always half the diameter, so 6. The height is 12. Let's plug these into our volume formula.