The supply/demand table is shown above with demand in columns 2-5 and suppliers in the first column. The unit costs are the table cells with an indication in parentheses of how many units have been assigned from the available supply. The total supply equals the total demand of 90. The horizontal sums in parentheses add up to the available supply, and the vertical sums add up to the demand.
The total cost is obtained by adding together the products in the cells containing parentheses:
80+9+105+198+63+125=580.