For this case, the first thing we must do is the composition of functions.
 We have:
 f (x) = 3x-2
 g (x) = x ^ 2
 (gOf) (x) = (3x-2) ^ 2
 We now evaluate the function:
 (gOf) (3) = (3 * (3) -2) ^ 2
 (gOf) (3) = (9-2) ^ 2
 (gOf) (3) = (7) ^ 2
 (gOf) (3) = 49
 Answer:
 (gOf) (3) = 49