Let's use the variable x to represent the first investment and y to represent the second investment.
If the total is $9500, we can write our first equation:

Then, if he lost 3% on the first one and earned 7% on the other, and the result is an earning of $169, we can write our second equation:

So the system of equations is:
