Let's say Michelle invests x dollars at eight percent. Then she must invest 10000-x dollars at twelve percent. So the equation for the total amount of interest she will accumulate is .08x + .12(10000-x) = 944. The equation is linear in x, so you should be able to solve for x easily after simplifying the equation.