How can I get a number from a child item and a parent item?

Parent/Child like this?
What numbers are you trying to get and where are you trying to put them???
On a report?
On the qty for spur brackets I need to multiply the qty from shelves and uprights so in this case the result would be 2


@kevin, Where you go? Does the above work for you???