Bifurcation trees of period-3 motions to chaos in a time-delayed Duffing oscillator