How do you write a function as an equation?
For example the input is 5 and the output is 10
the rule is +5
if 5 was x and 10 was y
would the equation be
x = x+5
y = x+5

is this correct?
can you also provide an example?