One simple way to do is:- since each of other eight friends need to pay Rs.150 more, so 150*8=Rs.1200.
Rs. 1200 is actual contribution of 2 people (who have not actually paid).
So, contribution one 1 person=Rs.1200/2=Rs.600
Contribution of 10 persons= Rs.600*10=Rs.6000