When x changes by 3, y changes by (13 - a)
From 4 to 13 x changes by 9 so y changes by 3 (13 - a)= 39 - 3a
And notice that
39 - 3a = b rearrange as
3a + b = 39
The function, g or k ? is linear, so its graph will be a straight line, in which case the gradient between x = 1 and x = 4 will be the same as that between x = 4 and x = 13.
So,
b−1313−4=13−a4−1.
From that,
3b−39=117−9a,9a+3b=156,3a+b=52.
Alternatively, let the equation of the function be f(x)=Ax+B.
Substituting the co-ordinates of the three points, we have
a=A+B,…(1)13=4A+B,…(2)b=13A+B,…(3)
from which,
3a+b=3(A+B)+(13A+B)=16A+4B=4(4A+B)=52.