To learn how to write a function rule, select the following link:
Writing an Equation for a Linear Function