We know, 34.2 ppm of Al2(SO4)3 is actually equal to 34.2 mg of Al2(SO4)3 in 1 L solution.
Again, molar mass of Al2(SO4)3=342 g/mol
∴Molarity of Al2(SO4)3=34.2×10−33421 M =10−4M
Al2(SO4)3(aq)→2Al3+(aq)+3SO2−4(aq)10−4M 2×10−4 M 3×10−4M[SO2−4]=3×10−4M
According to the question,
p=3 and q=4
∴p+q=3+4=7