\begin{table}[!htbp]
    \begin{subtable}[h]{0.45\textwidth}
        \centering
        \begin{tabular}{|l|l|}
                \hline
                States:                        & Reward: \\ \hline
                Object Front                   & -1      \\ \hline
                Object Left                    & -1      \\ \hline
                Object Right                   & -1      \\ \hline
                Object Back Left               & -1      \\ \hline
                Object Back Right              & -1      \\ \hline
                Object Back Left \& Back Right & -1      \\ \hline
                Nothing Detected               & 1       \\ \hline
            \end{tabular}
       \caption{States \& Rewards}
       \label{task_1_SR}
    \end{subtable}
    \hfill
    \begin{subtable}[h]{0.45\textwidth}
        \centering
            \begin{tabular}{|l|}
                \hline
                Actions:   \\ \hline
                Forwards   \\ \hline
                Up Left    \\ \hline
                Up Right   \\ \hline
                Back Left  \\ \hline
                Back Right \\ \hline
                Backwards  \\ \hline
            \end{tabular}
        \caption{Actions}
        \label{task_1_A}
     \end{subtable}
     \caption{States, Rewards and Actions of Task 1}
\end{table}
States: Reward:
Object Front -1
Object Left -1
Object Right -1
Object Back Left -1
Object Back Right -1
Object Back Left & Back Right -1
Nothing Detected 1