posted by lewis .
which number cann be used in place of the variable in each rational expression
What you have written equals a + b, because the numerator equals (a+b)(a-b); so the a-b term cancels the denominator.
Your question is unclear. Both a and b can be any number.