-9 n^2-72 n p+m (4 m-20 q)+49 q^2