So let's say we wanted to figure out the limit as x approaches zero of f of g of x, f of g of x. First of all, pause this video and think about whether this theorem even applies. Well, the first thing to think about is what is the limit as x approaches zero of g of x to see if we meet this first condition. So if we look at g of x right over here, as x approaches zero from the left, it looks like g is approaching two. As x approaches zero from the right, it looks like g is approaching two. And so it looks like this is going to be equal to two. So that's a check.