Help with Understanding C-Corp Basis

Hi guys, I am currently reviewing the C-Corp questions, and I am extremely confused on the C-corp basis questions. Do we refer to the adjusted book value or FMV as the basis? For instance, the following question suggests to use FMV as the basis: Question 1: Fox, the sole shareholder in Fall, a C corporation, has a tax basis of $60,000. Fall has $40,000 of accumulated positive earnings and profits at the beginning of the year and $10,000 of current positive earnings and profits for the current year. At year-end, Fall distributed land with an adjusted basis of $30,000 and a fair market value (FMV) of $38,000 to Fox. The land has an outstanding mortgage of $3,000 that Fox must assume. What is Fox's tax basis in the land? ANSWER: 38,000. But the following question suggests to use adjusted basis as the basis: Question 2: Lind and Post organized Ace Corp., which issued voting common stock with a fair market value of $120,000. They each transferred property in exchange for stock as follows: Adjusted Fair Market Percentage of Property Basis Value Ace Stock Acquired Lind Building $40,000 $82,000 60% Post Land 5,000 48,000 40% The building was subject to a $10,000 mortgage that was assumed by Ace. What was Lind’s basis in Ace stock? ANSWER: 30,000. (40,000 - 10,000) I cannot understand when should we use adjusted basis or FMV in terms of calculating the C-corp basis. I have been browsing online for a clear-cut answer. Any help is extremely appreciated!! Thanks!