A man offered 0.5 percent commission for the first Rs.500000 and 1 percent commission for the rest sum of money to a broker to sell a house. If the broker sells the house for rs. 1250000. Find his commission?​