How do i figure taxes on buildings on leased land purchased from me?

Had leased land in Idaho with buildings on the land.  we owned the buildings, not the land.  the buildings were purchased from us.   how do we do tax on that compared to how much we purchased the lease?