The Bucks and Cavs are in different places, yet this deal could help both teams reach their goals.