Chewing gum can be safely removed from the carpet by first freezing it with ice, then scraping it away, and then dabbing it with a lacquer thinner or citrus-based cleaning product.