Write system of equations for the 2nd Markovitz problem: given n assets and correlations between them and given a sigma, find equations for weights of the portfolio which maximize the mean return with a given sigma. You need to use Lagrange multipliers here.