From your blocks, I see you are attempting to do accounting for the purchase and sale of various items in various quantities and prices, perhaps to determine profit and loss.
To do that, you need tables (lists of lists).
I suggest working up a spreadsheet of sales and purchases, drawing on the expertise of a book on accounting (search terms: retail sales accounting)
From your blocks, I see that you have not yet mastered how to work with tables:
