Hi! Can someone please help me with the heat equation, my working out is below. The question is: Solve

with the boundary conditions:

My working out is:

So first case is:

when The general Solution of ODE for

Then i differentiate it and got

From the boundary conditions:

And this is where i get lost

I tried solving simultaneously but I don't know how to. Can someone please help me? Thank you