8.16: Construct a function to model a linear relationship between two variables.