Unlawful discrimination dispute settlement

I have received $45,000 from unlawful discrimination dispute settlement. Employer in the settlement agreement has denied the discrimation allegation but has agreed to pay $45k. My attorney fee to settle this case is 18,000.

My employer will issue a 1099 MISC for 45K.  which IRS forms do I need to fill to deduct legal fee of 18k.