x is partly constant and partly varies with y.When y=5,x=19 and when y=10,x=34.

(a) Find the relationship between x and y.
(b) Hence find x when y = 7.

x = my+b

so,
5m+b=19
10m+b=34
So find m and b