ফাংশনের মাঝে ফাংশন | Math Problem

Click here to read the complete problem statement.

how do i solve these types of functions?o

just try thinking outside the box