The curve with equation $y^2 = 3x^{4}-3x^{2}$ is called a kampyle of Exodus. Find an equation of the tangent line to this curve at the point $\left(-2,-6\right)$.

An equation of the tangent line to the curve at the point $\left(-2,-6\right)$ is .