With every increase in x y decreases by 3 so you have a linear function with a slope of -3 so your equation is
y= -3x+b. To solve for b you can use any point [ lets use( ]1,9) ] and substitute these values forms and y
9= -3(1) + b
b=12
so equation is y=-3x+12