If I've understood what is the "Green function", you have to begin by solving
For this, write the characteristic equation* and find its roots. Let's call them

and

. In the case of two different real roots, the solutions of (1) are given by

. Then, use (2) to find the values of

and

. Once you have done this, will go through the variation of parameters method.
*For a differential equation which as the form

, the characteristic equation is

.