Sold a DRIP stock and not sure how to put long term and short term cost basis on the tax form?

I sold some Deere and Company in which I had reinvested dividends.  I received 9661.26 from the sale.

My long term cost basis was 1063.80 and my short term was 75.40 (from dividends reinvested for the last year).

Do I divide the proceeds from the sale between ST and LT or how do I enter this on my tax form?  Thanks for the 

help!!!