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