Hi,
I am trying to filter only those customers, who first bought A product or first brought B product and secondly bought A product to see what else they have brought after buying A.
This is a sample of data I have:

Required result should look like this:

Could this be done in Alteryx?