Answer:
Ratio between balances will be:

Where;
x = deposit
%i = interest rate annual
n = years
Explanation:
Lets say first deposit is x$ for both investment and annual interest rate for both investment are %i. Also, they stayed under i interest in n years:
Total balance for simple interest is:

How ever total balance for compound interest is:
