The general equation of an ellipse with it's center at (0,0) is:
With the center at (h,k) the equation is:
'a' represents the semi-major axis (half of the length of the major axis)
'b' represents the semi-minor axis (half of the length of the minor axis)
From: www.cuemath.com/geometry/ellipse/
Ellipse (Wikipedia)