In the second problem, the inner function worth identifying as such (by some method or other) is 1 + e^x.

Edit:

Just in case a picture helps...

... where

... is the chain rule. Straight continuous lines differentiate downwards (integrate up) with respect to x, and the straight dashed line similarly but with respect to the dashed balloon expression (which is the inner function of the composite and hence subject to the chain rule).

So, to determine the function F, focus on getting the anti-derivative of 1/2e to the power of the dashed balloon, just like you would if it were 1/2 e to the power of some variable like u.

Call it u, if that helps!

In the second problem, we have a choice between taking e or else or else as the most likely inner function... but either way, that makes e^x the 'by-product' derivative of the chain-rule differentiation. Remember a chain-rule differentiation is what we're trying to work backwards through, when we do - or avoid doing - u-substitution.

OK, what happens if we choose e^x...

... no obvious leads, so let's try 1 + e^x...

... which is progress, because if we just re-write e^x in terms of u, I mean the dashed balloon...

... then we can see a way ahead, because the fraction breaks nicely into two...