However I'm having problems implementing it. Also, I used Mathematica to solve for a and b: Personally I prefer to get the answer any sleazy way I can get it, then go back and figure out how to do it for the purist in the class.

See "Basic Partial Differential Equations" by Bleecker and Csordas. This is covered and is what I'm using for this problem.