We have
= P + Q ...(i)
Where
Now,
= P - Q ...(ii)
Squaring and adding (i) and (ii),we get
(a)
Multiplying (i) and (ii), we get
(b)