If you observe the graph, the graph is touching the x-axis at the point x=-1 and is turning away.
This means, the graph as an even multiplicity at x=-1. So the two roots of the given polynomial are x = -1 and x = -1. Thus, the two factors of the polynomial are (x+1) and (x+1)
Product of the factors is equal to the polynomial. So the given polynomial will be (x+1)(x+1).
Therefore, the answer to this question is option C