From the question
The sum of two investments = $9500
Let one of the investments be $x and the other be $y
Therefore

Peter lost 3 % on one and earned 7 % on the other
Therefore, we say
He lost 3% on $x
That is He lost $0.03x and
He earned 7% on $y
That is He earned $0.07y
Since his net annual receipts were $169
Then we have

Now we have to solve the equations simultaneously
From the first equation

Substitute for x into equation 2
This gives

By solving for y we get

Substitute the value of y into equation 3
This gives

Therefore,
Each investment is
$4960 at 3% loss
$4540 at 7% profit