What is the Math formula for a function?
Anonymous has given you just one example. Thsi particularly one is for a straight line,
There is an infinite number of functions.
Y = mx + b
b is the y intercept on the graph
x and y are the coordinates on the grid
m is the rate of change (coefficient)