In a market economy, if the price of a good increases, the quantity demanded by consumers and the quantity supplied by producers will change in which of the following ways?