To solve this problem, you have to know these two special factorizations:

Knowing these tells us that if we want to rationalize the numerator. we want to use the top equation to our advantage. Let:

That tells us that we have:

So, since we have one part of the special factorization, we need to multiply the top and the bottom by the other part, so:

So, we have:

That is our rational expression with a rationalized numerator.
Also, you could just mutiply by:

Either way, our expression is rationalized.