Im really stuck on this question i have in my core 1 maths book. Ive searched throughout the chapter on how to do it but cannot find an answer.

The question is;

The curve C with equation y = x^2 + px + q, where p and q are intergers, passes through A and B coordinates. Find the values of p and q

A(-3,-2) B(2,3)

I have no idea where to start. Help will greatly apprietated.

Steve