Explanation:
Since we have given that
Group 1 : A = 15
B = 45
Group 2 : A = 20
B = 25
So, Two way table will be
A B Total
Group 1 15 45 60
Group 2 20 25 45
Total 35 70 105
Relative frequency for A in Group 1 is given by

Relative frequency for B in Group 1 is given by

Relative frequency for A in Group 2 is given by
Relative frequency for B in Group 2 is given by
So, The Relative frequencies will be
A B Total
Group 1 0.14 0.42 0.57
Group 2 0.19 0.23 0.42
Total 0.33 0.66 1