The correct option is B 2
Variables are the unknown quantities which can be denoted by the letters such as x. The value of a variable is not fixed.
In the given expression, x and y are variables and 5 is constant.
∴ Number of variables in the given expression = 2