Total is a type of Be. Total is related to Cost. Cost is related to Profit. Profit is related to Pro. 
Shape is related to Melt. 
Be <--IsA-- Total <--RelatedTo--> Cost <--RelatedTo--> Profit <--RelatedTo--> Pro 
Shape <--RelatedTo--> Melt 