I have two align environments in 2 minipages and I want them to be aligned at the very top. I am usually able to do it with 2 regular equations, but it doesn't work when I tried doing it on the two align environment, I end up getting a gap on the left minipage so it looks a bit off. Below is my code and output.
\documentclass[a4paper, 11pt, letterpaper]{article}
\usepackage{comment}
\usepackage{fullpage}
\usepackage{amssymb}
\usepackage{mathtools,amsthm}
\usepackage{tabularx}
\begin{document}
\begin{minipage}[t]{0.6\textwidth}
\vspace{0pt}
\begin{align*}
\f{dy}{dx} &= 1\cdot (2x-1)^2 + (x+3)\cdot 2 \cdot (2x-1) \cdot 2\\
&= (2x-1)^2 + 4(x+3)(2x-1)\\
&= (2x-1)[(2x-1)+4(x+3)]\\
&= (2x-1)(2x-1+4x+12)\\
&= (2x-1)(6x+11)
\end{align*}
\end{minipage}
\hfill
\begin{minipage}[t]{0.3\textwidth}
\vspace{0pt}
\begin{tabular}{|p{\textwidth}}
{$\!\begin{aligned}
&u=x+3\\
&v=(2x-1)^2\\
&u'=1\\
&v'=4(2x-1)
\end{aligned}$}
\end{tabular}
\end{minipage}
\end{document}
Thanks for any help!