If the marked price and cost price of an article are in the ratio 9:5, respectively, and the amount of discount allowed is the same as the amount of profit earned, then what is the percentage profit earned?

a) 20%
b) 25%
c) 33.33%
d) 40%