Identification of P and Q: metal P is iron and metal Q is zinc.
The light green solution is iron(II) sulphate, FeSO4. Zinc is more reactive than iron, so a zinc rod displaces iron from the solution. Colourless zinc sulphate is formed, so the green colour fades, and grey iron is deposited on the rod (any metal more reactive than iron whose sulphate is colourless, such as aluminium or magnesium, would also fit; zinc is the usual answer):
Zn(s)+FeSO4(aq)→ZnSO4(aq)+Fe(s)
Conclusion in terms of the reactivity series: a metal can displace another metal from its salt solution only if it is more reactive. Since Q (zinc) displaces P (iron), zinc is more reactive than iron, so zinc is placed above iron in the reactivity series.