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