Investors & landlords

I am confused.  From the question, it seems like this person bought and sold shares of a publicly traded company, which I assume the person would also have a 1099-B.  
Is the answer to this question assuming the person doesn't have a 1099-B?

From another related question at <a rel="nofollow" target="_blank" href="https://ttlc.intuit.com/questions/3242541-i-have-both-a-1099-b-and-a-schedule-k-for-the-same-sale-wh...>

A turbo tax agent answered that we don't have to calculate basis for schedule K, and only input sales and purchase info into the stock section.  Who is right?