The answer is
B.
Consider the fraction

.
Both the numerator and denominator, when by themselves, are irrational.
However, when they are divided, they result in the rational number

.
When

have the same irrational factor, the irrational factor will be cancelled from the fraction and (possibly) leave a rational number.