Label the substituents based on the color of the node to which it used to be connected.
UGI Reaction example
Diels-alder example
Track the reactant through the sequence, identify which substituent positions in the product are determined by this reactant.