Advanced Grafting: How to multiply trees with other trees?

just a note, on your 2nd example, this is how data-matching happens:

there’s also a sort of recent thread where the same topic was touched:

here is one way, where for each single element in A gets multiplied by the full B:

and here where each element of B multiplies the full list of A: