5.4 Writing a Function Rule