Find the volume of one candle by multiplying the length by the width by the height.
Then you divide the total amount of wax they have by the amount for one candle.
Volume of candle: 5 x 4 x 15 = 300 cm^3
Number of candles they can make:
5100 / 300 = 17
They can make 17 candles.