Write correctly balanced equations in the following cases :
(a) When lead (II) oxide (PbO2) is heated.
(b) When phosphorous is burnt in a jar of oxygen.
(a) 2PbO2 ⟶Δ\overset{\Delta}{\longrightarrow}⟶Δ 2PbO + O2
(b) P4 + 5O2 ⟶ 2P2O5