Assuming that "failed" means that all the money invested was lost then the 24 million needs to be divided up in the ratio 4:3.
Splitting something in the ratio 4:3 means that if there are 7 things, the first person gets 4 and the second person gets 3.
In other words, the first person gets 4/7 of the total and the second person gets 3/7 of the total.