Question 1132722
You invest $6000 in two stocks.
A + B= 6000
Or
A =(6000-B)
 In one year, the value of stock A increases by 5.8% and the value of stock B increases by 12.6%.
 The total value of the stocks is now $6586.
That means the increase amt: 6586 - 6000 = $586
.058A + .126b = 586
Replace A with (6000-B)
.058(6000-B) + .126B = 586
348 - .058B + .126B = 586
-.058B + .126B = 586 - 348
.068B = 238
B = 238/.068
B = $3500 in Stock B 
then
6000 - 3500 = $2500 in Stock A