Find the value of x if a linear function goes through the following points and has the following slope: (x, 2), (−4, 6), m = 3.