Answer:
The first one is right
Step-by-step explanation:
y=ax+b
then
-9= -9a+b
0= -6a+b
a=3 and b=18
y=3x+18