Is this function linear or nonlinear?

y=3x−5 also pls tell me how you found it out