Why is the Optimal (Complete) Portfolio different from the Tangency Portfolio?

The optimal (complete) portfolio $w_{CP}$ is

$w_{CP}= y * w_{TP}$ and $w_{rf}= 1 - y$

The expected return of the investor's optimal (complete) portfolio is

$E[r(w_{CP})] = y * E[r(w_{TP})] + (1 - y) * r_f$

and its variance is

$Var(r(w_{CP})) = y^2 * Var(r(w_{TP}))$

A derivation of these formulas is explained in the Class Material of Week 3