Let then .

We will try to find a function so that would solve the equation you want to ask. This would require . We also want therefore . We also want therefore . We also want therefore . We also want therefore .

Now we can find the solution. Solve subject to the boundary value problem . This is a standard exercise with seperation of variables. One you get the solution then the solution to the original problem would be .