pat kelly and yvette are equal partners in the pk/

The partnership has claimed $5,000 of depreciation on the building using the straight-line method.
a. What is Kellybasis in her partnership interest on February 1 just before the sale?
b. What are the amount and character of Kelly gain or loss on the sale?
c. What is Margaret basis in her partnership interest?
d. What is the partnership basis in its assets after the sale?