Yilan -> Kending: fastest way?

So what is the fastest way via public transport? Logic would suggest a train to Taidong and then a bus from there, but I don’t know if there’s a direct Taidong-Kending bus. Or perhaps take the train to Taidong, a second train to Fangliao, and then a bus to Kending? Other ideas?