You’ll want to name the first graph component g1 and then on the fourth slide you can call the values of a and b from g1 in the CL code using
number("a"): g1.number("a")
number("b"): g1.number("b")
while entering the formula for the function inside the calculator itself. Here’s an example implementation. Square function example • Activity Builder by Desmos