What is the probaility that a voter chooses a liberal in state B?
Let us see the total amount of voters in state B. This is equal to 35 according to the graph. Out of them, 20 voted for the liberal candidate. If we randomly pick a person in state B, chances are hence 20/35 that he votes for the liberal candidate. Probability is defined as the ratio of positive outcomes over all possible outcomes. Here, a positive outcome is voting for the liberal candidate and all outcomes are the voters of state B. 20/35 is equal to 5/7 or around 71%.