Please tell me how to put this function

I’m in great trouble because I can’t get the function I want.
I do not know how to put out the function enclosed in red as shown in the first reference image. please tell me.