Please Help!!!!

When finding conditional frequency, how do you know if you should put the row total or column total in the denominator?

Please Help When finding conditional frequency how do you know if you should put the row total or column total in the denominator class=