Question 7241
say he invested X at 5% and Y at 6.5%. X+Y is 4,000. Interest is 0.05X+0.065Y = 227. 

*[invoke linear_substitution "X", "Y", 1, 1, 4000, 0.05, 0.065, 227]