how do I find it the x value of g(x)

Here, we want to find the value of x, given g(x)
What we have to do here is to substitute the value of g(x) into the equation
We have this as follows;
[tex]\begin{gathered} 12\text{ = 10x+2} \\ 12-2\text{ = 10x} \\ 10x\text{ = 10} \\ x\text{ = }\frac{10}{10} \\ x\text{ = 1} \end{gathered}[/tex]