You received an inheritance of $40,000 from a beloved uncle. With inflation so
high, you decided that rather than save the inheritance, you are going to invest it.
You were given two interest bearing accounts to invest in. One yields 7% simple
interest and other pays 6.5%. You expect earn $2,640 in interest in total from both
accounts in the first year. How much should you invest in each account?