Expectated value Problem

Please guide me on how to solve this problem:-

PROBLEM LINK