Question: how to get wax out of carpet?
Answer: Spread a clean terry cloth or brown paper (e.g. a paper bag) over the wax stain. Run a warm iron over the paper or cloth to heat the wax. The paper should absorb the wax as it melts. Don't let the iron get too hot or it could melt the carpet or burn the paper!