arithmetic - in a business three friends xy and z shared the profit in the ratio 578 x invested his amount for 14 months y for 8 months and z for 7 months respectively find the ratio of their investments - skillgun

Let their investments be Rs. x for 14 months, Rs. y for 8 months and Rs. z for 7 months respectively
Then, 14x : 8y : 7z = 5 : 7 : 8
Now, 14x/8y = 5/7
=> y = (49/20)x
14x/7z = 5/8
=> z = (16/5)x
=> x : y : z = x : (49/20)x : (16/5)x
=> x : y : z = 20 : 49 : 64