Let
$$E:y^2 = 4x^3-g_2 x - g_3$$
be an elliptic curve and
$$j=\frac{g_2^3}{g_2^3-27 g_3^2}$$
denote to its $j$-invariant. I want to transform $E$ to find $f$ and $g$ s.t.
$$E:y^2=4x^3-f(j)x-g(j).$$
I have no clue what ansatz I should take for $f$ and $g$, nor how to transform $E$. Who can help me?