Hey, I'm not sure where to post this so I thought it would be best to post here since it has the most viewers and my exam is in 3 hours

Here's the exercise:

and here's the solution:

what i don't understand is the 2nd column of the table. (how to get the weights) it should be simple but i'm stuck.

can anyone help?

thanks!