A man borrowed Rs 500 at the rate of 3% p.a. and Rs 600 at 4.5% p.a. on simple interest, with an agreement that the whole sum will be returned only if the total sum becomes Rs 1520. The number of years after which the borrowed sum is to be returned is: