5(p+q)^2+3(p+2q)^2=8p^2+22pq+17q^2
5(p^2+2pq+q^2)+3(p^2+4pq+4q^2)=5p^2+10pq+5q^2+3p^2+12pq+12q^2=8p^2+22pq+17q^2
5(p+q)^2+3(p+2q)^2=8p^2+22pq+17q^2
5(p^2+2pq+q^2)+3(p^2+4pq+4q^2)=5p^2+10pq+5q^2+3p^2+12pq+12q^2=8p^2+22pq+17q^2