Let the required ellipse have semi‑major axis length $$a$$ and semi‑minor axis length $$b$$.
Because the centre is at the origin and the major axis lies on the $$y$$-axis, its standard equation is
$$\frac{x^{2}}{b^{2}} + \frac{y^{2}}{a^{2}} = 1,\qquad a > b > 0.$$
Both given points must satisfy this equation.
For $$(3, 2)$$:
$$\frac{3^{2}}{b^{2}} + \frac{2^{2}}{a^{2}} = 1 \;\Longrightarrow\; \frac{9}{b^{2}} + \frac{4}{a^{2}} = 1 \quad (1)$$
For $$(1, 6)$$:
$$\frac{1^{2}}{b^{2}} + \frac{6^{2}}{a^{2}} = 1 \;\Longrightarrow\; \frac{1}{b^{2}} + \frac{36}{a^{2}} = 1 \quad (2)$$
Introduce the abbreviations $$A = a^{2},\; B = b^{2}.$$ Equations (1) and (2) become
$$\frac{9}{B} + \frac{4}{A} = 1 \quad (1')$$
$$\frac{1}{B} + \frac{36}{A} = 1 \quad (2').$$
Step 1 – Eliminate $$1/B$$.
From (1′): $$\dfrac{1}{B} = \dfrac{1-\dfrac{4}{A}}{9}.$$
Set this equal to the $$1/B$$ obtained from (2′):
$$\dfrac{1-\dfrac{4}{A}}{9} = 1 - \dfrac{36}{A}.$$
Multiply by 9 to clear the denominator:
$$1 - \frac{4}{A} = 9 - \frac{324}{A}.$$
Bring all terms to one side:
$$1 - \frac{4}{A} - 9 + \frac{324}{A} = 0 \;\Longrightarrow\; -8 + \frac{320}{A} = 0.$$
Hence
$$\frac{320}{A} = 8 \;\Longrightarrow\; A = 40.$$
Thus $$a^{2} = 40.$
Step 2 – Find $$b^{2}$$.
Substitute $$A = 40$$ in (2′):
$$\frac{1}{B} + \frac{36}{40} = 1 \;\Longrightarrow\; \frac{1}{B} + 0.9 = 1.$$
Therefore
$$\frac{1}{B} = 0.1 = \frac{1}{10} \;\Longrightarrow\; B = 10.$$
So $$b^{2} = 10.$$ Since $$a^{2} = 40 > 10 = b^{2},$$ the major axis is indeed along the $$y$$-axis as required.
Step 3 – Equation of the ellipse.
Insert $$a^{2}=40,\;b^{2}=10$$ in the standard form:
$$\frac{x^{2}}{10} + \frac{y^{2}}{40} = 1.$$
Multiplying by 40 if desired gives the equivalent form $$4x^{2} + y^{2} = 40.$
Hence, the ellipse sought is
$$\frac{x^{2}}{10} + \frac{y^{2}}{40} = 1.$$