Calling a function with argument from another function

Thank you very much for this example ! It’s really going to help me.
I think how to adapt it to my idea.