You simply ask them. Agree on it before the match starts, set the game to a team configuration in the lobby, and you'll both be assigned to the same side.
Coordinating early, even just noting who covers which flank, makes a bigger difference than any build order.