7A.23: Construct a function to model the linear relationship between two variables.