We define pairings and copairings in the category of topological spaces over and under B. We prove a relation between pairings of homotopy sets induced by a pairing and a copairing of topological spaces over and under B. We obtain some properties of the axes of pairings and the homotopy set of the axes of pairings in the category of topological spaces over and under B. We also prove the dual results.