Forgive me, I can't check numbers but wondering if this would at least make sense (the cap numbers can't be that far off)-
Wash sends: McGee
Wash receives: Gerald Wallace, Kwame Brown
Golden Sate Sends: Monta Ellis, Kwame Brown
Golden State receives: Javale McGee, Portland 1st
Portland sends: Gerald Wallace, Portland 1st
Portland receives: Monta Ellis
Of course contingent on Wallace extending w/ Washington