I had a doubt from reading 50 portfolio mgmt level 2.

When we find expected returns, we use product of weights and returns of individual security in portfolio. But such product of weight and risk are not used to calculate risk. so why in example 5 solution3 , do we use - active risk of portfolio is square root of sum of active weights squared times the active volatility squared for each security.