Midpoint Markets interview question

Some question about weighted coins.