A tree grows at a constant rate of 2 feet per year. If the height of the tree was 5 feet when it was first planted, after how many years will the total height of the tree be 1 foot less than three times its original height? Let's think step by step and output the final answer within \boxed{}.
user