Let $X$ be a compact connected Riemann surface of genus $1$ and suppose that there is a finite morphism $X\to \mathbf{P}^1$ of degree $n$ which ramifies totally over $0$ and $\infty$. Let $f^{-1}(0)$ be the "origin".
Q. Is the point $f^{-1}(\infty)$ of order $n$?
If yes, do I understand correctly that the elliptic curve $E=(X,f^{-1}(0))$ with the point $f^{-1}(\infty)$ defines a point on the modular curve $X_1(n)$?