how to use two inputs into one output

All I can possibly say is... slow down. Don’t panic.

Separate your thoughts, and explain what & why your blocks of code are there.

What errors are you getting, and what are you expecting...

Please go back (before someone else responds), and re-post your question using </> code tags and a bit more care expressing your problem.