And here is another way to think about functions:
Write the input and output of a function as an "ordered pair", such as (4,16).
They are called ordered pairs because the input always comes first, and the output second:(input, output)
So it looks like this:( x, f(x) )
Example:
(4,16) means that the function takes in "4" and gives out "16"