The function g is defined as follows.
g(x)=3x² +5
If the graph of g is translated vertically downward by 6 units, it becomes the graph of a function f.
Find the expression for f(x).