Let the actual cost price of an article be Rs.1 (in place of x)
Now the purchases goods worth Rs. 120 and pays Rs. 80, since 20% discount is allowed.
So the CP = 80/120 = 2/3
Again MP = 180, SP = 135 (since 25% discount)
Thus the trader sells goods worth Rs.90 instead of 100 g and charges Rs. 135. Therefore the effective SP = 135/90 = 3/2
Therefore Profit (%) = [(3/2 - 2/3 ) / (2/3)] x 100 = 125%