Answer:
According to "AS 7 - Construction Contracts",Gross amounts receivable / payable from / by customers should be recognized as contract asset / liability in the balance sheet.
For the first job, construction work in progress is greater than the bills raised. Hence there exists contract asset.
Contract asset = Cost incurred - Billing done
= $20,000 - $14,000
= $6,000
For the second job, construction in progress is less than the bills raised. Hence there exists contract liability.
Contract liability = Bills raised - Cost incurred
= $5,000 - $3,000
= $2,000
Hence, Contract asset = $6000 , Contract Liability = $2000