please make pairs with the person sitting at the desk next to you / pair up with the person sitting next to you
please make pairs with the person sitting in front of or behind you / pair up with the person sitting in front of or behind you
「横の席の人とペアを組んでください」= please make pairs with the person sitting at the desk next to you / pair up with the person sitting next to you
「縦の席の人とペアを組んでください」= please make pairs with the person sitting in front of or behind you / pair up with the person sitting in front of or behind you