Given that the prices and quantities supplied in litres of petrol is expressed as Qs…