When demand or supply shifts

A shift in demand moves price and quantity the same way, a shift in supply moves them opposite ways, and when both shift at once one of the two changes can be told and the other depends on which shift is larger.

From AP Macroeconomics.