A and B started a business jointly. A's investment was thrice the investment of B and the period of his investment was two times the period of investment of B. If B received Rs. 4,000 as profit, then their total profit is
Let B invest x Rs. for y months
Then A invest 3x for 2y months
So A:B=(3x×2y):(x×y)=6xy:xy=6:1
B's profit :total profit=1:7
Let the total profit=x
Then,17=4000x
x=28000