Inchworm movement of two rings switching onto a thread by biased Brownian diffusion represent a three-body problem