As we are taking limits as x goes to either + or - infinity all we need to do is look at what the trend of the function is as we go to these limits.

See how g(x) is pretty much flattened out at y = 2 on the right side of the graph? Then apparently . As similar argument shows that .

-Dan