Nasruddin and Mahesh invested 40,000 and 60,000 respectively to start a business and made a profit of 30%. How much profit did each of them make?
a) Nasruddin: 12,000; Mahesh: 18,000
b) Nasruddin: 10,000; Mahesh: 15,000
c) Nasruddin: 15,000; Mahesh: 25,000
d) Nasruddin: 18,000; Mahesh: 27,000