Question

$$\left. \begin{array} { l } { ( x + y ) ^ { 2 } + 5 ( x + y ) + 6 } \\ { ( p - q ) ^ { 2 } - 11 ( p - q ) + 30 } \end{array} \right.$$