We can fairly easily solve this by looking at the direction the graph is pointing, and the x-intercepts.
We see that the graph is pointing down, so we can immediately rule out A and C because they both do not have a -
When we look at the x-intercepts we see they are -2 and 1
Only D when -2 or 1 are plugged in will return an answer of 0