\begin{table}
  \centering
  \caption{}
  \vspace{6pt}
  \begin{tabular}{l|g|g|}
  \rowcolor{white} \multicolumn{1}{l}{} & \multicolumn{1}{l}{$\ba=$ female} & \multicolumn{1}{l}{$\ba=$ male} \\[12pt] \hhline{~|-|-|}
  \rowcolor{white} $\bz=$ female & \parbox[t]{60pt}{homosexual\\female} & \parbox[t]{60pt}{heterosexual\\male} \\[12pt] \hhline{~|-|-|}
  $\bz=$ male & \parbox[t]{60pt}{heterosexual\\female} & \parbox[t]{60pt}{homosexual\\male} \\[12pt] \hhline{~|-|-|}
  \end{tabular}
  \label{tab:gender-sexual-orientation}
\end{table}
a = female a = male
z = female homosexual
female heterosexual
male
z = male heterosexual
female homosexual
male