Your answer seems like it is good overall and it is what I got as well. You might clean up the answer by using the <math> formula </math> formatting though.
EDIT: It looks like the way we approached this first was incorrect. I have update my answer to reflect some comments I got about it, you might want to look at that. -Ryan Scott