Caroline puts $400 into a savings account that earns 6% annually. Write a function that represents this situation, where t is the time in years. Solve algebraically after how many years she will get $1200 in her account (round it to the nearest year).