I apologize in advance, because I believe I am making a horrible mistake that I am entirely unaware of, but here we go:
Suppose we have a degree $2$ map $\phi: C \to E$ defined by $[x:y:z] \to [x:y:z^2]$ where $C$ is a smooth plane quartic of the form $z^4 + a_2(x, y)z^2 + a_4(x, y)$ where $a_i(x,y)$ is a homogeneous degree $d$ polynomial in $x$ and $y$.
I have been told that $E$ will be an elliptic curve defined by the equation $w^2 + a_2(x, y)w + a_4(x, y)$ ($w = z^2$). However, I am having a hard time understanding why this equation actually gives us an elliptic curve. I must be doing something horribly wrong, but I can’t even see how the genus of $E$ would be $1$. Based on the genus-degree formula, we would have $g = 3$.
Any hints/resources would be appreciated. Thanks in advance.