Hello!
Answer:

Explanation:
▪ We want to find the values of p and q.
▪ Let's simplify the following expression:

▪ Let's simplify (x - 5)²:
▪ We know that
is equal to
.
In our expression:

▪ So:

▪ So the expression (x - 5)² + 31 is equal to:

▪ So in the expression (x - 5)² + 31:

Conclusion:
p = -10
q = 56