the underlying formula that you want to use here to compute compound interest is
A = P(1 + r/n)^nt
for this scenario that means taking
2P = P(1 + 0.20)^(1*t)
2 = (1.20)^t
t = log(2) / log(1.20) = 3.80
meaning that it will take approximately 3.80 years for the amount of money to double