A dealer is selling an article at a discount of 15%. Find:
(i) The selling price if the marked price is Rs. 500;
(ii) the cost price if he makes 25% profit.