I get the Hinrich for Douglas proposal as a starter, but more salary is needed leaving GSW for it to work. But my guess is the Bulls don't want to take any contracts back that last longer than this year. The only players that qualify are O'Neal and Bazemore, but I doubt GSW wants to give up either of them. Therefore, a third team with expiring contracts is needed.
The Knicks can step in and give the Bulls Udrih and Aldrich who both expire. GSW can still send 2 second rounders to the Bulls, that part makes sense. The Knicks get Ezeli and Green who are role players, but are willing to accept their contracts that don't expire this year. The Knicks get no draft picks because Ezeli and Green have a bit more upside at this point than Udrih and Alrich.
To New YorkFestus Ezeli ($1.1M for 3 years)
Draymond Green ($0.9M for 2 years)
To ChicagoToney Douglas ($1.6M EXPIRING)
Beno Udrih ($0.9M EXPIRING)
Cole Aldrich ($0.9M EXPIRING)
GSW 2018 2nd Round Pick (earliest 2nd rounder available)
GSW 2019 2nd Round Pick
To Golden StateKirk Hinrich ($4.1M EXPIRING)
http://espn.go.com/nba/tradeMachine?tradeId=ojl6pwl