The latter sum of money is Rs.600.
Let the sum of money invested at 10% per annum simple interest be x.
The interest on the sum of 500 at 12% per annum simple interest for 4 years = (500 * 12 * 4)/100 = 240
The interest on x at 10% per annum simple interest for 4 years = (x * 10 * 4)/100 = 4x/10 = 2x/5
240 + 2x/5 = 480
2x/5 = 240
x = 600
Therefore, the latter sum of money is Rs.600.