Out of these two functions, which is linear and which is none-linear?

Answer: function 2 is linear and function 1 is nonlinear
Step-by-step explanation: function 2 in the y value is added by 5 and the x value is added by 1 so its constant but function 1 isnt because different values are being added