Let:
P1 = Investment 1
P2 = Investment 2
r1 = Interest rate 1 = 5% = 0.05
r2 = Interest rate 2 = 7% = 0.07
t = time (in years) = 1
The simple interest is given by:

So:
Let:
I1 = Interest 1
I2 = Interest 2

From the problem we know:

Also, we know:

So, let:

From (1) solve for P1:

replace (3) into (2):

Replace the value of P2 into (3):
