the answer is the second one
Step-by-step explanation:
y=mx+c where m is the gradient or slope and c is the y intercept I think this is right