Given:
f(x)=3x+1
It is given that the graph of the function g(x). we need to find the function g(x).
Consider, g(x) = f(x)-2, now substitute x=0 into the function g(x) as follows:

Therefore, the vertiex (0,-1) not shown in the givien grph.
Now, consider g(x)= f(x-2), now substitute x=0 into the function g(x) as follows:

Therefore, the vertiex is (0,-5). Now substitute x=3 in above function as,

Therefore, the vertiex is (3,4). Hence, the function g(x) =f(x-2) is satisfying the given graph
Hence, the required answer is g(x)=f(x-2). The graph g(x) is translated 2 unit to the down.