You should report the full $50,000 as miscellaneous income. There is no other category that will lower your taxes on this income. Then, take a deduction for legal fees for $23,000 under the heading Federal Taxes>Deductions & Credits>Other Deductions & Credits>Legal Fees.