Construct a Function to Model a Linear Relationship