A man invests a certain sum of money at 6% p.a. simple interest and another sum at 7% p.a. simple interest. His income from interest after 2 years was Rs. 354. One-fourth of the first sum is equal to one-fifth of the second sum. The total sum invested was