Business & farm

What if you have three assets listed because you made improvements to sell the rental.  How do you allocate the business portion of the sales price among the three assets?