Two investments were made totaling $15000. for a certain year these investments yielded $1432 in simple interest. part of the $15000 was invested at 9% and part at 10%. find the amount invested at each rate