linear vs nonlinear functions worksheet