Function notation word problem: beach