dave sold business-use machinery for $27000 on December 31, 2007. the

dave sold business-use machinery for $27000 on December 31, 2007. the machinery had been purchased on January 2, 2004 for $30000 and had an adjusted basis of $21000 at the date of the sale. What is the section 1231 gain from this transaction? What is the section 1245 recapture gain from this transaction?