Boston would send Bogans and his ~$5.2 million along with Babb and his ~$915k to Houston, both non guaranteed and waived right away.
Houston would send Lin and his ~$8.3 million cap hit and ~$15 million salary to ???
??? sends ??? (non guaranteed) to Houston
Houston sends ? draft pick(s) to ???
Houston sends the rights to Capela to either Boston or ???
Boston sends $$$ to ??? (to help offset the difference between Lin's cap hit and salary)
Houston sends Motiejunas and his ~$1.5 million to ??? and ??? pick to Boston or Houston sends Motiejunas and his ~$1.5 million to Boston and ??? pick to ???
the big question is what team is ??? also we could add Pressey and/or Johnson to Houston