Help me solve a small puzzle related to logical elements.

Hello! Help me solve a small puzzle related to logical elements. I need to connect 7 7402 to each other. I would be most grateful for the help.

Thank you!

Start here https://www.futurlec.com/74/IC7402.shtml