Let cost price = x
initial marked price = cost price + 30% of cost price
= X+30%X= 130 %X
Final marked price = initial marked price-25/4% of initial marked price
= 130%X-25/4 % of 130 % X= 121.875 %
Therefore gain percentage = (121.875-100)%= 21.875%