Recovered expenses from a Failed Real Estate Sale

Failed sale of our primary residence in 2019. (In essence, breach of contract on the part of the realtor) We incurred numerous expenses as a result, and filed a lawsuit. Residence sold in 2020, all proceeds (plus savings) went into new home.

Lawsuit settled by insurance of realtor in 2022. Received 1099-MISC from our lawyer.

Expenses incurred are documented.

What forms need to be filed to provide documentation of the expenses vs. repayment?