Your answer is correct. Equation 2 is a quadratic equation, thus, it's not linear. Equation 1 is linear. You can test both of these by graphing. Equation 2 will be a parabola, and Equation 1 will be a line.
Hope that makes sense!