I was having the same problem, and I hope that you still need help with this. But for any people in the future who need help, please refer here: http://www.physics.miami.edu/~korotkova/PHY102_Lecture4_09.pdf" . Specifically on slide 8.
If for some reason that doesn't work, just read...