Make the compound words from A and B