arithmetic - x and y started a software business investing some money in the ratio of 3 5 z joined them after six months with an amount equal to that of y in what proportion should the profit at the end of one year be distributed amount x y and z - skillgun

Let initial investment of x is 3x and Y is 5x, then Z investment is also 5x, but most important to note in this question is the time duration of investment
Like, X invested for 12 months, Y invested for 12 months and Z invested for 6 months.
=> X:Y:Z = (3x*12):(5x*12):(5x*6)
= 36:60:30
= 6:10:5