Frank has $8000 that he plans to split into two investments. He wrote the following two equations to represent the interests he will earn from each of the two investment options.

2000 A+ 6000B=520
400A+400B=480
Determine the interest rates, A and B as percentages