Notice that the location of each voter does not matter. What matters is how each district is drawn. Representation varies depending on how the districts are drawn, meaning that power belongs to whoever draws the districts.
-
Click here for the source.
It provides great background on gerrymandering overall.
For more on the subject you may also want to read through this:
Gerrymandering Explained.