Explain through a diagram the effect of a rightward shift of both the demand and supply curve on equilibrium price and quantity.