if p+q=5 and 2pq=8, what is p^2+q^2?