I am trying to do an exercise from Rick's Miranda Book that goes like this
Show that if $X$ is a line in the projective plane, then the intersection divisor of any other line with $X$ has degree one. In general, show that the intersection divisor of a homogeneous polinomyal $G$ of degree $d$ with a line $X$ has degree $d$.
My attempt for the first sentence was that we know that there is only one point $p$ in the intersection of those two lines so we need to calculate $ord_p(G/H)$, but i cant seem to do this in a decent way, so any help is aprecciated. Also for the second case should i try to transform the polinomyal in lines or something ? Thanks in advance.