Write a rule for the linear function in the table