What is the logic of making an escorting car?

Hello everyone,

I am making a 3D hyper casual game to learn well. I would like to make an escorting car guarding my main car. When I swipe left or right I would like to swipe both of them.

Any idea?

Do you have swiping working with your main car? Do you have a main car? Start with the basics.