I’m guessing this is simple interest so we use the formula I=PTR/100 and the amount after T years is P+PTR/100=2P which means after T years the amount has doubled. Therefore we can divide through by P:
1+TR/100=2, so TR/100=1 and TR=100, so R=100/T=100/6=16⅔%.