You trade for either, and you do so without trading Ray.
Baby, House, Scal, Giddens and / or Walker and a 1st for either.
They'd have to cut a variety of scrubs to complete either deal (Boykins, Crittendon and James -- or maybe they keep Boykins and cut Stevenson), but both sides get what they want.