\documentclass[../main.tex]{subfiles}
\graphicspath{{\subfix{./assets}}}
\begin{document}
%-------------------------------
\vspace{0.2in}
\hrule
\vspace{0.1in}
\section{Unidad 2: Análisis de Potencia en Circuitos de CA}
\hrule
\begin{xltabular}{\textwidth}{|X|X|}
	\hline
	\underline{\textbf{Potencia instantánea}}
	\newline\newline
	$\begin{aligned}
			 & p(t)=v(t)i(t)                                                                                        \\
			 & v(t)=V_m\cos(\omega t +\theta_v) \Leftrightarrow \mathbf{V} =V_m\angle \theta_v                      \\
			 & i(t)=I_m\cos(\omega t +\theta_i) \Leftrightarrow \mathbf{I} =I_m\angle \theta_i                      \\
			 & p(t) = \frac{1}{2}V_mI_m\cos(\theta_v-\theta_i) +\frac{1}{2}V_mI_m\cos(2\omega t +\theta_v-\theta_i)
		\end{aligned}$
	\newline\newline
	& sdasd
	\\
	\hline
	\multicolumn{2}{| c |}{\underline{\textbf{subtitulo}}}
	\\
	\hline
	22 & 22                                                \\
	\hline
\end{xltabular}

\end{document}