How to write this conic section in standard form?

3y^2 = 108 - 12x^2

12x^2 + 3y^2 = 108

12x^2/108 + 3y^2/108 = 1

x^2 /9 + 3y^2 /36 = 1

You should recognize this conic as an ellipse.

I want the algebraic wothiut the data types. And am still pondering how to do that; something to do with algebraic structures being overlain on things, while types underlie them, I think. I'm also thinking it might be related to some sort of conceptual flaw in the programming notion of symbol.