Linear and nonlinear functions worksheet