We know that the candle will have 15 cubic inches of wax, this is the volume.
Now, if the candle's height is twice its diameter, then we express
Additionally, the volume of a cone is
Where pi=3.14. Also, we know that the radius is half the diameter, so we'll use the following expression
Replacing all, we have
The radius should be 1.5 inches long.
Then, we find the height
The height should be 6.1 inches long.