If a mixture of NaCl, conc. H2SO4 and K2Cr2O7 is heated in a dry test tube, a red vapour (P) is formed. This vapour (P) dissolves in aqueous NaOH to form a yellow solution, which upon treatment with AgNO3 forms a red solid (Q). P and Q are, respectively