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

abxy

abxy

axby

abxy

abxy