I am trying to create a deal that will give me $30k-$40k possible cash minus expenses.

:
The owner only wants $205k for the property, but it is in need of repair. So this is an as-is transaction. The property is a 2-unit brick bldg. with an estimated appraised value of $265k.
It is in need of a new roof (possible sub structure repairs after the top layer of roofing is removed). It also needs tuck-pointing and all the hardwood floors needs to be refinished. The plumbing needs to be updated, and the rear porch needs to be replaced. Most of the other repairs are cosmetic.
The repair estimate is $20k-$25k.
How can I structure this deal so that I can recieve the needed cash out ???