If a function is linear, the points can be connected by a straight line. If the function is nonlinear, the points cannot be connected by a straight line. Let's look at our points plotted on a coordinate plane.
If we use a straight edge, we can see that these points can be connected by a straight line.