Function notation word problems