Simple question, Create "x" formula in a codeblock

I am currently trying to run this script by Steven

and as you can see, he uses the x formula above.
Thank you for your response