I'm solving the Three Dimensional Schrodinger Equation, and there is a little part that I'm stuck on...

I'm starting with this DE:

and I have to show that if I change the independent variable from theta to z, using the substitution

and the identity

I should show that the DE has the form:

My problem is going from:

I'm probably overlooking something pretty minor, but I'd appreciate any help!

--Chris