Suppose the producer initially supplies X units at Rs.8.
Given, P=Rs.8;P1=Rs.10;△P=P1−P=Rs.10−Rs.8=Rs.2
Q=X units;Q1=(X+40)units;△Q=40 units
ES=2
Price elasticity of supply (ES)=PQ×△Q△P
2=8X×402
⇒2=160X
⇒2X=160
⇒X=1602=80
Before the price change, quantity supplied =80 units.