You have a small error in the fifth line. It should be r=ep-ex. Other than that it looks correct. Your final answer is an ellipse - it's just not in standard form. You can put it in standard form by multiplying everything out, bringing everything over to the left and completing the square.