B. Find the domain and range of the function .
[tex]g(x) = 3x - 2[/tex]