I'll just answer it with a tad more precision:
1. If forward reaction is exothermic:
a) A decrease in temp will shift the equilibrium to the right. Because: The change is a decrease in temp, in order to counteract the change, the reaction must produce heat. Thus the reaction moves forward.
b) An increase in temp will shift the equilibrium to the left. Because: The reverse reaction is endothermic. The change is a increase in temp, in order to counteract the change, the reaction must absorb the heat. Thus the reaction moves backwards.
2. If forward reaction is endothermic:
a) An increase in temp will shift the equilibrium to the right. Because: The change is a increase in temp, in order to counteract the change, the reaction must absorb the heat. Thus the reaction moves forward.
b) A decrease in temp will shift the equilibrium to the left. Because: The reverse reaction is exothermic. The change is an increase in temp, in order to counteract the change, the reaction must produce heat. Thus the reaction moves backwards.
It all follows Le Chatelier's Principle where an equilibrium alters to counteract the change and a new equilibrium is established.