You could use a @cascade(content_groups) or similar with correct syntax for:
But I am pretty sure that you cannot filter on the expand(_all_) edge to do the second cascade. I am also pretty sure that you can’t specify an edge and then use expand(_all_) as a sibling edge.
Maybe the proper way would be to create the reverse var block and then combine proposals with the other var block to get only the ones you want: