Question 971886
x=invested in stock a
5000-x = invested in stock b

x *.098= gain on stock a
(5000-x) * (.062)= gain on stock b

.098x +310-.062x = 389.20    (5389.20-5000)

.036 x +310 -389.20
.036 x =79.20
x=$2200 stock a

5000-x=$2800  stock b

2200*.098= $215.60
2800*.062= $173.60

they add to $389.20