I originally asked this in an answer to the following question:
What is the equation of an ellipse that is not aligned with the axis?.
As I noted in the opening paragraph I DO NOT HAVE THE NECESSARY REPUTATION TO COMMENT YET. That was why I had to provide an answer rather than doing the very natural thing of commenting.
Two people: pjs36 and Ben S both advised asking a new question, even though I believe this is a duplicate of that question.
The problem is very simple: user1089161's answer is almost a perfect answer for the problem I'm trying to solve, except it is expressed in terms of the slope 's' along which the major axis lies. This means that if the major axis is parallel to the y axis, the answer becomes degenerate.
So how could that answer be expressed in terms of the angle by which the major axis has been rotated rather than the slope on which it lies?