The diagram below shows part of the graph of a polynomial function-

A possible equation for the rule of the function is:

The back of the book seems to think its y=(x-c)(b-x)^2 but i am pretty certain its y=(x+c)(x-b)^2. So am i wrong or is the book wrong?