The equation of an ellipse is given by

x²/a² + y²/b² = 1

The height and the width of the rectangle would be 2b and 2a.

Now, from this information, get the value of ba and a.

Substitute in the equation for the ellipse.

You get the equation of the ellipse.

Thereafter, give values for x like -2, -1, 0, 1, 2 etc. and find the corresponding values of y.