To obtain a conditional relative frequency, divide a joint frequency (count inside the table) by a marginal frequency total (outer edge) that represents the condition being investigated
so
In this problem
the row conditional relative frequency for males who play basketball is
<h2>15/31</h2>
15 is the total male that play basketball
and 31 is the total male and female that play basketball