arithmetic - x y and z started a business together and their investments are in ratio 12 13 14 after 2 months x withdraws half of his capital and after 10 months a profit of rs 378 is divided among them what is ys share - skillgun

Ratio of investments =1/2 : 1/3 : 1/4 , now LCM of 2, 3, 4 is 12 on multiplying the ratio with 12 we get 6 : 4 : 3 , also we assume their initial investment be 6x, 2x and 3x
so, we can write: X : Y :Z
=> (6x X 2 + 3xX10) :(4x X 12) :(3x X 12)= 42:48:36
=> Y's share = 8/21*378 =Rs 144