Math Help - covariance

1. covariance

I dont understand how it comes to this?

2. Re: covariance

However, you still should define $w_a$ and $w_b$.