Calling a function inside other function

yeah, you are right … is there any approach that I can follow to get what I want …
do you think function arity can be my friend