A "--" in the district column means, that the town is a district-free town, i.e. it is by itself a district.
... this case, a quantity that does not depend on x) to the expression to the left of "=", that will make it a perfect square trinomial of the form x2 + 2xy + y2. Since "2xy" ...