Let number of .45 stamps purchased be F
Then number of 65c stamps purchased = 50 - F
We then get: .45F + .65(50 - F) = 24.5
.45F + 32.5 - .65F = 24.5
.45F - .65F = 24.5 - 32.5
- .2F = - 8
F, or number of 45c stamps purchased =, or
Number of 65c stamps purchased: 50 - 40, or