Alright, Sumer, let's see what we can come up with.
The profit is the difference between the selling price and the cost. The percentage is found by putting the difference/the cost, so d/c = .1
In the second, since both the cost and selling price go down equally, the difference is the same.
As an example, 51 - 50 = 1. (51 - 12) - (50 - 12) = 39 - 38 = 1.
So, d/(c - 25) = .15
We can convert the first equation into d = .1c, then substitute into the 2nd equation.
.1c/(c - 25) = .15
.1c = .15(c - 25)
.1c = .15c - 3.75
.05c = 3.75
c = Rs 75
Let's check. Rs 75(1.1) = Rs 82.50, so the cost is Rs 75 and the selling price is Rs 82.50.
Rs 50(1.15) = Rs 57.50. 82.5 - 25 = 57.5. Check!
Hope this helps!