According to the information given in the exercise, Harries won by the following ratio:
A ratio can be also written as a fraction. Then you can rewrite it in this form:
Knowing the ratio, you can determine that:
Then:
Notice that the value 9 is obtained by adding the numerator and the denominator of the fraction.
Now you can set up the following proportion:
Where "h" is the number of votes cast for Harris.
Solving for "h", you get: