Proposal template for two product groups - advice needed

Hi,
I need to make proposal template which will have this structure:
Intro
Table with product lines related to e.g. materials
[Product name (product name)] [Product unit price (product unit_prices)] [Product quantity (product quantity)] [Product amount (product amount)]
Some additional general descriptions
And second table which is related to e.g. work
[Product name (product name)] [Product unit price (product unit_prices)] [Product quantity (product quantity)] [Product amount (product amount)]
Some description of work which will be done
Total Sum of both product tables.
And the question is, HOW to make two tables (e.g. limit it/filter it by product category). I am stucked and I dont know if it is even possible in Pipedrive
Thanks for any guidance and advice!