Consider the exponential function given by the equation:
$f(x) = 3 imes 2^{x - 1}$
Determine the value of $x$ for which $f(x) = 24$.