Writing A Linear Function