If a square times a triangle equals 36 and a square divided by a triangle equals 4, then what is the square equal to and what is the triangle equal to

If a square times a triangle equals 36 and a square divided by a triangle equals 4, then what is the square equal to and what is the triangle equal to

Let a square be equal to X and a triangle be equal to y
x * y = 36
x / y = 4
x = 12 y = 3