The demand and supply function of a commodity are given as below. Qd = 20…