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

abxy

abxy

abxy

a bxy

abx y

'ab' should be paried with 'xy':

abxy

abxy