# for (a), just substitute x = 3 to f(x) for (b), substitute x with f(x) to g(x) for (c), calculate f(3) first, then substitute it's value to g(x) and so on