We must first assume that the base of the cone and the cylinder hvae tha same base shape and size.
The volumen of a cone is equal to one third of the volumen of the cylinder, whose base and height are equal those of the cone:
Therefore:

replacing:

The answer is 15 in^3