s corp income

graphite corp has been a calandar S corp since 1/2/05. on 1/1/09, smith and tyler each owned 50% of Graphite stock, in which their respective bases were $12,000 and $9,000. for the yeard ended 12/31/09, graphite had $80,000 in ordinary business income and $6,000 in tax-exempt income. graphite made a $53,000 cash distribution to each shareholder on 12/31/09. what total amount of income from graphite is includible in smith's 2009 AGI? answer is: 40,000 My question here is...how can you determine if the question is asking for total operating income from graphite or total income (including the capital gain share?)