(b)
Considering the given reaction,
We have a total of 7 mol of gas on the reactant side, and 9 mol of gas on the product side.
As the volume of the system decreases, the pressure rises, limiting the amount of "space" available for our gas molecules. In this case, the reaction will produce less gas, which can only be achieved by shifting the reaction to the side with fewer gas molecules.
There are fewer gas molecules on the reactant side than on the product side. The reaction will shift to the left, with the amount of product decreasing and the amount of reactant increasing.
Therefore, both reactants and will increase, and both products and will decrease.