The correct choice is
D. 22 Hz and 42 Hz.
In fact, the beat frequency is given by the difference between the frequencies of the two waves:

In this problem, the beat frequency is
, therefore the only pair of frequencies that gives a difference equal to 20 Hz is
D. 22 Hz and 42 Hz.