For the function f defined by f(x) =

Evaluate:

I'm solving the problem using a book which actually gives me step-by-step instructions. Thing is I have a confusion with the following distribution, and the book is not showing the distribution step.

When I do this step I receive the following:

What the book gives

What am I doing wrong? Everything?