Loop Data Appending to Google Sheets

Can you please help me editing the command flow for 2 variables?
What function do I need to add, where does it need to be added?

Thank you a lot in advance!