An oxy-acid of phosphorus(p) on heating produces an oxy-acid(q) and gas(r). oxidation of (r) with o2 produces solid(s) and water. (s) can produce acid(q) when reacts with water.