The first thing you should do for these cases is to graph both lines and see where they intersect.
At the point of intersection we will find the solution a f (x) = g (x)
For this case, when observing the graph, we see that the lines intersect at the point P = (2,2).
Therefore the solution is x = 2
answer
x = 2