Cynthia is a hardworking single mother on a very limited budget. she invests her savings only in safe investments because she is not in a position to take risks and lose any of her hard-earned money. she invested 6400 in two types of accounts for one year. the first type earned 5% simple interest and the second type earned 8% simple interest. at the end of the year, cynthia had earned $395 in interest. how much did she invest at each rate?