Final answer:
To calculate the revenue and gross profit (loss) to be recognized in each of the three years, subtract the cost incurred during the year from the billings during the year. The gross profit (loss) is obtained by subtracting the cost incurred during the year from the revenue recognized.
Step-by-step explanation:
To calculate the revenue and gross profit (loss) to be recognized in each of the three years, we need to subtract the cost incurred during the year from the billings during the year. This will give us the amount of revenue recognized. The gross profit (loss) can be calculated by subtracting the cost incurred during the year from the revenue recognized.
For 2021, the revenue recognized would be $1,700,000 ($1,700,000 - $2,079,000 = -$379,000 loss), for 2022 it would be $0 ($3,844,000 - $3,465,000 = $379,000 profit), and for 2023 it would be $4,456,000 ($5,200,000 - $2,371,600 = $2,828,400 profit).