Scratch Cat will ask you some questions. Answer them with valid numbers / functions, and he will calculate your equation.
(Num. 1 is the first number before the function, Num. 2 is the second, and so on. Same applies to the first/second function.) Oh yeah this was also made only using one script so that's cool I guess.