Let the amount that the man placed in the first investment be

. Then, the amount that he placed in the second investment has to be

. Using those as the investment amounts, the total profit is given by adding the two separate profits as shown:

We can now solve for x:





Thus,
First investment:

Second investment:
