Studying for test tomorrow and I'm stuck on how to create an equation for this word problem:

Linda invested $5000 at a local bank. Part was invested at 6% simple interest and the remainder at 10% simple interest. At the end of one year, Linda had earned $428 interest. How much was invested at each rate?

Any help is appreciated, thank you!!