Looks like you included all the necessary terms, at a quick glance it looks correct. Assuming of course your P terms denote the correct correlations between the different asset combinations.
I’d bet it’s likely they ask for the variance or standard deviation of a two asset portfolio, don’t think nearly as likely for three assets.
S2000 probably can give a much better answer of what’s likely or not to appear though, I’m sure he’s around at this time
One of my live professors stressed the “ugly formula” rule. If there is a big nasty formula that you can not intuitively create yourself (like FCFF in level 2), there’s a very good chance it will not be tested.
I’ll say that across practice tests from CFAI in level 1,2, and 3, I have seen the variance of a 2 asset portfolio pop up, but never for a portfolio of three or more assets.
It’s just as important to realize that increasing the number of assets increases the number of standard deviation terms by ONE, but increases the number of covariance terms by however many assets are already in the portfolio.
Therefore, when adding assets to a good sized portfolio, what matters most (as far as how it contributes to portfolio risk) is not the new assets own risk (i.e. its variance of returns), but rather its average covariance with all the other assets (i.e. its covariance with the portfolio’s returns).