P and Q,respectively, are the sodium salts of
The reactions involved are
Cl2 + 2NaOH (cold, dil.) + NaCl + H2O
3Cl2 + 6NaOH (hot, conc.) + 5NaCl + 3H2O
where NaOCl and NaClO3 are salts of hypochlorous acid (HOCl) and chloric acid (HClO3), respectively.
Tagged Oxoacids of halogens and interhalogen compounds. Machine-assigned, so read it as a strong shortlist rather than a verdict.