What is the chemical equation, name, and formula for the follwing?

"When strongly heated, magnesium sulfide formed a yellow crystalline deposit on the walls of a sealed reaction vessel. Metallic deposits were found on the bottom of the container"

1 answer

Probably, the yellow color is due to sulfur deposits on the walls and the metallic deposits are magnesium metal. Sor the word equation is
magnesium sulfide + heat ==> magnesium + sulfur.
Now you turn that into a symbol equation.