I invested $25000 and received $1100 interest.what amount paid 3 percent and what amount received 5 percent for the $1100?

.03x + .05(25000-x) = 1100