Answer:
The answer to your question is: Â p = 13 Â Â q = 13
Step-by-step explanation:
Obtain 2 equations where the unknown quantities are p and q.
A ( 7, 6)
B (-1, -2)
Equation 1     6 = p + 7q - 2(7)²
             6 = p + 7q - 98
             p + 7q = 104           -------------  (1)
Equation 2    -2 = p - q - 2(-1)²
            -2 = p - q - 2
            p - q = 2 - 2
            p - q = 0              ---------------- (2)
            p = q
      Â
            p + 7p = 104
            8p = 104
            p = 104/8
            p = 13
            q = 13