I am a novice in Latex world

I would like to construct two equation array, Can anyone cottect me please:
Thanks,
\begin{eqnarray}
F_{1} + F_{2} = (g + \ddot{x})\cdot m_p
\newline
F_{1}\cdot \frac{C_{1}\cdot Y_{1} sin(\phi-\theta)}{L_1} + F_{2}\cdot \frac{C_{2}\cdot Y_{2} sin(\phi+\theta)}{L_2} =\ddot{\theta}\cdot I_{zz}
\newline
\newline
F_{1} = B_1 \cdot U_1
\newline
F_{2} = B_2 \cdot U_2
\end{eqnarray}
\begin{eqnarray}
L_1 = \sqrt{C_1^2 + Y^2 - 2 Y\cos(\phi-\theta)}
\newline
L_2 = \sqrt{C_2^2 + Y^2 - 2 Y\cos(\phi+\theta)}
\newline
C_1 = \sqrt{(X_0 + X^{*})^2 + Y^2}
\newline
C_2 = \sqrt{(X_0 + X^{*})^2 + Y^2}
\newline
\phi = \atan((X_0 + X^{*})^2/Y^2)
\end{eqnarray}