Consider the function,

When x = 4,

Thus, point (4, 10) does not lie on the graph of the function.
Consider the function, y = 3x + 2
when x = 4, y = 3(4) + 2 = 12 + 2 = 14
Thus, point (4, 10) does not lie on the graph of the function.
Consider the function, y = 3x - 2
When x = 4, y = 3(4) - 2 = 12 - 2 = 10
Thus, point (4, 10) lie on the graph of the function.
When x = 5, y = 3(5) - 2 = 15 - 2 = 13
Thus, point (5, 13) lie on the graph of the function.
When x = -2, y = 3(-2) - 2 = -6 - 2 = -8
Thus, point (-2, -8) lie on the graph of the function.
Therefore, the rule that can represent the function is y = 3x - 2.