The function f is defined by f(x)=(x−5)(x+2). Which of the following are the x-intercepts of the graph of f in the xy-plane?
(−5,0) and (2,0)
(5,0) and (−2,0)
(−5,0) and (−2,0)
(5,0) and (2,0)