How do you find the value of x so that the function f(x) = 4x - 2 has the given value 18?