A tradesman finds that by selling a bicycle for Rs. 75, which he had bought for Rs. x, he gained x%. Find the value of x.
Pankaj sold an article for Rs 5600 which cost him Rs x. He finds that he has gained x % on his outlay. Find x.