A construction company entered into a fixed-price contract to build an office building for $18 million. Construction costs incurred during the first year were $6 million and estimated costs to complete at the end of the year were $9 million. The building was completed during the second year. Construction costs incurred during the second year were $10 million. How much revenue and gross profit or loss will the company recognize in the first and second year if it recognizes revenue upon contract completion?