two equal sums of money were invested , one at 4 % and the other at 4.5 % . at the end of 7 years , the simple interest received from the latter exceeded to that received from the former by 31.50 . each sum was :