Answer: $4,000 is ordinary income. No Capital gain
Step-by-step explanation:
In 2017 and 2018, total Section 1231 losses are:
= 3,300 + 3,100
= $6,400
The Section 1231 gain in 2019 falls below the combined losses from the previous years of 2017 and 2018 so will not be counted as a capital gain as those losses are not yet being recaptured.
The entire $4,000 is therefore ordinary income.