Answer
950 dollars invested in account A and 550 dollars in account B
Work Step by Step
Let call "a" the amount of money invested in account A and "b" the amount of money invested in account B
Given: a+b=1500
0.05a+0.04b=69.50 or 5a+4b=6950
a=1500-b
5(1500-b)+4b=6950
7500-5b+4b=6950
-b=-550 => b=550
a=1500-550=950