'a' and 'b' should be paired with 'x' and 'y' respectively:

abxy

abxy

abxy

abxy

abxy

'ab' should be paried with 'xy':

abxy

abxy

'a b c' should be paried with 'x y z':

a b cx y z

a b cx y z

a b cx y z