I was working with a lot of little tables and I used this link to include them on my script. Now I would like to put a formula related to the table next to each one. The formula has to be between a "cases" environment with three rows. Here is an example of two tables. There should be two "cases" environment, one next to each subtable, but I don't know how to include them. Thank you in advance.
\begin{table}[h!]
\begin{subtable}{.5\linewidth}\centering
{\begin{tabular}{cc}
\toprule
\ $X$ & $Y$ \\
\midrule
12,5 & 0,11\\
25 & 0,20\\
50 & 0,37\\
100 & 0,55\\
\bottomrule
\end{tabular}}
\caption{ $I=0,5\,A$}\label{tab:minisubtabladif_I=0,5}
\end{subtable}%
\begin{subtable}{.5\linewidth}\centering
{\begin{tabular}{cc}
\toprule
\ $X$ & $Y$ \\
\midrule
12,5 & 0,18\\
25 & 0,4\\
50 & 0,73\\
100 & 1,27\\
\bottomrule
\end{tabular}}
\caption{$I=1\,A$.}\label{tab:minisubtabladif_I=1}
\end{subtable}
\end{table}

