A line in the sand

The other day, someone (who shall remain nameless to protect their identity) asked me the following:

I have a set of data points, (X,Y), and I know they are related through a simple function:

How do I determine m, and b?

Now, there are many ways to determine values for m and b; but, right now I’d like [...]