This is question 7.4.7 out of Liu's book: Let X be a hyperelliptic curve of genus $g \geq 2$ endowed with a separable morphism $f: X \rightarrow \mathbb{P}^1_k$ of degree 2. We can write $K(X) = k(t)[y]$ with a relation $y^2+Q(t)y=P(t)$ .Let $x_0 \in X(k)$ and assume that $x_0$ is a Weierstrass point, i.e that $l(2x_0) \geq 2$. We want to show that a Weierstrass point is a ramification point. We know that fixed points of the hyperelliptic involution $\rho$ are ramification points.
The exercise is divided in steps, in a) assume that $x_0$ is not a ramifcation point, then $x'_0 = \rho(x_0)$ is distinct from $x_0$. Now you take $h \in L(2x_0) \setminus k$ , and show that $(h \pm \rho(h))_\infty = 2[x_0]+2[x'_0] = 2 f^\ast [f(x_0)]$. I have no problem with showing this.
In b) you show that you can assume that h is of the form $h=a(t)+b(t)y$ . I can do this without problem. Here is my problem:
c) By considering the degree of $h - \rho(h)$, show that $g \leq 1$.
How can I calculate the degree of $h - \rho(h)$ and how can I from it, conclude that it has genus less than or equal to 1?