Demand for a commodity by a consumer is the quantity of that commodity that the…