Jenny is running an experiment for organic chemistry class. She needs exactly 100 ml of 70% hydrochloric acid, but the lab only has 90% and 40% solutions. How much of each solutions does she need to mix in order to obtain 100 ml of 70% hydrochloric acid solution?

.9 x + .4(100 - x) = .7 * 100