If the ratio of simple interest and principal is 8 : 25 and rate of interest is equal to the time invested then find the time of investment ?