Given table:
X | Y
-------
1 | 22
2 | 40
3 | 58
4 | 76
As easy way to find out which of the equations in the choices is correct, is to plug in the different values of x, and see which equation gives out the corresponding values of y. Let us try this below:
A. y = 22x
22(1) = 22 || OK
22(2) = 44 || WRONG
B. y = 18x + 4
18(1) + 4 = 22 || OK
18(2) + 4 = 40 || OK
18(3) + 4 = 58 || OK
18(4) + 4 = 76 || OK
Therefore, the correct answer is B.