Capital gains on farm land

We recently sold part of our farm. I am getting several answers different answers about how to list this sale. Does it go under personal assets or do I need to add it to the farm assets (like tractors etc) and do it that way. Also, how does IRS know how much we originally paid for the farm by the acre?