Janelle weighed an unknown substance. It had a mass of 20.609 grams. She exposed the substance to a flame and carefully weighed the substance again. The substance then had a mass of 17.39 grams. Write and solve an equation to determine the amount of mass x the substance lost.