y will be the number of years. It can be solved with logs and a calculator. y = log2/log1.05 = 14.2 The base of the log does not matter as long as it is the same for both.
You can ask a new question or answer this question.