I received a bulk settlement for a car accident. I was required to pay back the two insurance companies for any monies they paid towards my care out of my settlement.

Can I deduct these expenses?  Can I deduct my attorney fees?  Thanks in advance