Both Q and R
Reason — Washing Soda (NaHCO3.10H2O) and baking Soda (NaHCO3) are made from sodium chloride using the Solvay process
NaCl + NH3 + CO2 + H2O ⟶ NaHCO3 + NH4Cl
NaHCO3 is filtered and heated to get sodium carbonate:
2NaHCO3 Na2CO3 + CO2 + H2O
Sodium carbonate (Na2CO3) is then hydrated to form washing soda.