Well, I think that J is starting his course in functions. As such, I guess that he knows by now that a one-one function is one where there is only one 'output' to a certain 'input'
The input will be x and the output f(x).
As you have noted, there is only one corresponding value in the output for a particular input, the function is a one one function. Another thing you correctly noted is that they go up by the same amount each time, and this suggests a linear function.
Since it is linear, you can imagine the points to make a straight line on graph paper, if you plot (2,7), (4,15), (6,23), (8,31).
Hence, you can find the gradient of the line (or slope).
Take any two coordinates, subtract the outputs and the inputs like this:
So, your line has a gradient (or slope) of 4.
To now find the equation, do again the same thing, but with y and x, like this, and equate to the gradient:
J should be able to cross multiply, and simplify:
And you now replace y by f(x) (it's a matter of presentation because this is a function)
f(x) = 4x - 1
~~~~~~~~~
Maybe the gradient part is not so clear, so, here's another example:
If you have
The gradient is given by:
The equation of the line:
where m is the gradient of the line.
I hope you understand :)
If you need clarification, just ask :)