Go through the following question and provide the answer:
 
Vishal broke his arm while playing cricket. In the hospital, the doctor applied a cast made of X to keep the bones in place. The cast hardened within a few minutes after being mixed with water, forming Y, which stabilised the fractured bone until healing. After a few weeks, the cast could be removed, and the bones were properly healed.

i. Identify X and Y.
ii. Write its chemical formula.
 
i. X and Y is
 
ii. The chemical formula of X and Y is.