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?

X*.028+Y*.045=1024.40

X+Y= 31000