If the first and the nth term of a G.P. are a ad b, respectively, and if P is the product of n terms, prove that P2 = (ab)n.