A and B contributed 2700 and 1800 respectively to start a business. They agreed to share the profit in the ratio 7:5 respectively. If the profit made was 900, Calculate B's share of the profit.​