An investor bought some municipal bonds yielding 5% annually and some certificates of deposit yielding 7% annually. If her total investment amounts to $20,000 and her annual return is $1160, how much money is invested in bonds and how much in certificates of deposit? Explain in detail.