Let a1,a2,a3,... be the terms of an AP. If a1+a2+a3+...+apa1+a2+a3+...+aq=p2q2, p≠q, find the value of a6a21.