A function machine takes an input and applies a rule. Set the rule, then enter inputs and see outputs. Or play "find the rule": the machine hides the rule, you watch input-output pairs and figure it out.
x (input)
y (output)
What's the rule?
Try to express it as y = mx + b. Type the slope (m) and intercept (b).