Proof (Green's function from linearly independent solutions)
Note that $G(a;\xi) = 0 = G(b;\xi)$ so $G$ satisfies the Dirichlet boundary conditions.
$x\mapsto G(x;\xi)$ is continuous at $x=\xi$. Besides $$ \begin{align*} \dfd{G}{x}\Big|_{\xi^+} - \dfd{G}{x}\Big|_{\xi^-} ={}& \frac{1}{\alpha(\xi) W(y_1,y_2)(\xi)}\underbrace{\big(y_1(\xi) y_2'(\xi) - y_1'(\xi) y_2(\xi)\big)}_{W(y_1,y_2)(\xi)} \\ ={}& \frac{1}{\alpha(\xi)}. \end{align*} $$ So it satisfies the jump condition.
Therefore $$ \begin{align*} L[G(x;\xi)] = \delta(x-\xi). \end{align*} $$