If x dollars are invested at 12 percent for one year and y dollars are invested at 8 percent for one year, the annual income from the 8 percent investment will exceed the annual income from the 12 percent investment by $64. If $5,000 is the total amount invested between x and y, how much is invested at 12 percent