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. 4000 as profit, then their total profit is  Select the correct option.
A) 23477  B) 28000  C) 28877  D) 1987  E) 1771

Rationale: "explanation : suppose b invested rs . x for y months . then , a invested rs . 3 x for 2 y months . so , a : b = ( 3 x * 2 y ) : ( x * y ) = 6 xy : xy = 6 : 1 . b ' s profit : total profit = 1 : 7 . let the total profit be rs . x then , 1 / 7 = 4000 / x or x = 28000 . answer : b ) 28000"
Answer: B