Instrument change flute to tenor sax

In the score, one player alternates flute and tenor saxophone.How to do this in order to change the instrument from flute to tenor sax in a certain bar, including changing the key. I didn’t understand it in the operation manual. thank you for help!

This video may help:

Thanks! I already understand.