Answer:
a. AB and YX are both general partners.
AB's basis in the partnership's interests = $527,000 + ($263,500/2) = $658,750
YZ's basis in the partnership's interests = $457,000 + ($263,500/2) = $588,750
Each partner share 50% interest in the recourse debt.
b. AB is a general partner, and YZ is a limited partner.
AB's basis in the partnership's interests = $527,000 + $263,500 = $790,500
YZ's basis in the partnership's interests = $457,000
Only AB has a share in the recourse debt, since YZ is a limited partner it has no recourse debt share.