Given equation 7x + py =2 and also the given solution is (2,2), it means that x=2 and y=2
so substituting the values;
7(2) + p(2) = 2
14 + 2p = 2
2p = 2- 14
2p = -12
p = -12/2
p = -6
Therefore the value of p should be -6 and the correct option is (a)