To find the percent of votes won in County B, we need to recognize that the total votes won is the sum of the votes in the 2 counties and that the number of votes won in each county is the percentage won multiplied by the number of voters. If we let x% be the percent won in County B, we can write this equation: (61% of County A voters) + (x% of County B voters) = 52% of all voters, or 0.61(County A voters) + (x/100) (County B voters) = 0.52(all voters).
We don't know the number of voters, but we do know that the ratio of County A voters to County B voters is 3:1. Thus, 3/4 of the voters are in County A and 1/4 are in County B. Now suppose that V is the total number of voters, meaning that we have V voters in County A and V voters in County B. So, our original equation becomes 0.61*(3/4) v + (x/100) (1/4) v = 0.52v.
Notice that V appears in each term, so it can be cancelled out. In other words, since we know the proportion of voters in each county, we don't need to know the actual number of voters. In fact, we can simply think of the overall percentage won, 52%, as the weighted average of the percentages won in each county, where the weights are each county's fraction of the total voters.
To solve for x, let's get rid of the fractions by multiplying both sides by 400. This gives us 0.61(300) + x = 208, 183 + x = 208, or x = 208 - 183 = 25. The percent of the voters voting for candidate Smith was 25%. Choice (A) is correct.