How do the equilibrium price and the quantity of a commodity change when price of input used in its production changes?