Predict the shift of equilibrium for each of the following conditions in the following reaction involving gaseous reactants and products:

N2 + 3H2 = 2NH3 + heat
A. the pressure is increased.
b. the temperature is decreased.