Controllable behaviours of rogue wave triplets in the nonautonomous nonlinear and dispersive system