If the sum of n terms of an A.P in nP+12n(n−1)Q, where P and Q are constants, find the common difference.