Consider the exponential function defined by the equation:
$$f(x) = 3^x + 2$$
For which value of $x$ does the function $f(x)$ equal 35? Solve the equation:
$$3^x + 2 = 35$$
Input your answer as a simplified fraction or a decimal value in the grid below.