Investors & landlords

Thank you very much for your help.  I think I finally got it right to claim the partial gain exclusion for the home sale. It seems to me TurboTax has divided the gain for selling  this home into a rental business portion and a main residence portion, and the sale of the rental business portion is still taxed as an investment gain.  Please correct me if I am wrong, but if  my understanding is correct, what is the rule for Turbo Tax to make such a division? 

Thanks again.