Nazir invested 4000 rupees and Narayanan invested 6000 rupees to set up a partnership. In one year, they got 3000 rupees profit. If they split this in the ratio of their investment, how much would each get?