Group 3 tables in Linq

There are 3 tables in category, subcategory and product name, I want to group 3 tables in Linq Code Samples

Hp > Subcategory (3) > Product (10) Lenovo > Subcategory(4) > Product (6)