The $x$ are a column vector of _weights_ on each asset in the portfolio. The constrant $1^Tx=1$ means the elements of $x$ all add up to one, i.e. the weights add up to one like weights should.
$p$ is a column vector of returns on the assets. To get the porfolio return, we take the average return weighted by the portfolio weights. This is precisely what $p^T x$ is.
$\Sigma$ is the covariance matrix of the asset returns, i.e. it is $E(pp^T)- E(p)E(p^T).$ The variance of portfolio return is $$E((p^Tx)^2)-E(p^Tx)^2 = x^T(E(pp^T)-E(p)E(p^T))x = x^T\Sigma x.$$