Impact of Demand and Supply Shifts on Equilibrium