If anyone could me figure out this problem I would greatly appreciate it. I think I started right but I'm a little lost.

Cole's two student loans totaled $31,000. One of his loans was at 2.8% simple interest and the other at 4.5%. After one year, Cole owed $1024.40 in interest. What was the amount of each loan?

Thanks in advance,

Picturelady