You need to find the vectors between the three points given and take the cross product of them. Use this resulting vector and one of the given points, you can determine the equation of a plane. If this equation satisfies all three given points, the function f is linear.
You may want to refer to...