Filtering Array Data from 2 source and matching them?

sorry for my broken english and i will try to explain my question well

this is one of my array.

image

and here is the second one.

my objective is to create a table to match both of these data.

I am trying to match the data start with general to the second array general

example: General -> Genneral Union Name : Y 33
Winning -> Winnings Total(GU) : 0

but I have no idea which nodes should I use to filtering or matching

will really hope someone familiar with these can help me :cry:

Can you give an example what the output should look like ?

Actually I want to get the data contain "general", "winnings" and others

So I can receive data for uibuilder

I want to create somethings like this