Given the function f(x)=x−3x+2f(x) = \frac{x-3}{x+2}f(x)=x+2x−3, for what value of xxx is the function undefined?
x=3x = 3x=3
x=0x = 0x=0
x=−2x = -2x=−2
x=2x = 2x=2