5p+2q=3

7p+2q=11

subtract the first equaton from the second.

2P=8 solve for p, then solve for q in either equation.