Linda invests $5000 in a bank account that pays simple interest at a rate of 3% per year. At the same time, she also invests $2000 in another account that pays simple interest at a rate of 5% per year. After how many years will the total interest from both accounts be $1350? Let's think step by step and output the final answer within \boxed{}.
user