Find the Function g(x)=3x-2