I am not entirely clear on what the trade is. If it is:
Markkanen, Bailey, George, and Filipowski
for
Brown, Pritchard
I think you probably need to take out one of the players to make this work for UTA, probably Bailey. Then if UTA would do that, I guess it works for both teams but I would prefer to keep Brown and Pritchard.
But how about getting back to the MIL/Giannis idea:
To MIL: Markkanen, Bailey, UTA first (maybe 2), BOS first
To UTA: Brown
To BOS Giannis
or
To MIL: Markkanen, Bailey, UTA first (maybe 2), BOS first
To UTA: Brown, Hauser
To BOS Giannis, Portis