Gross Profit is the total amount invoiced on a job less the cost of total purchase orders on the job.
In this instance the total amount invoiced on this job is $7,220
Total Purchase Order Costs
The total purchase order costs are $1000
So Gross Profit is total Invoiced $7,220 less total Purchase Orders $1000 = $6,220.