If the quantity demanded of a particular commodity is represented by the function Qd =…