If two similar waves are traveling in the same medium, then they have same wave velocity. so we can infer that
Now, as per the formula ~ we know that :
Now, we can write it as :
And it's also given that frequency of wave A is 3 times that of frequency of wave B.
So, let's add the relation to our equation ~
So, choice C is correct ~