Answer:
C.
Step-by-step explanation:
The pattern is the amount of sides each shape has.
Triangle - 3
Rectangle - 4
Pentagon - 5
Logically, the next shape would be a hexagon, a shape with 6 sides.
Expand it
-(x+3)^2-1
-(x+3)(x+3)-1
-1(x^2+3x+3x+9)-1
-1(x^2+6x+9)-1
-x^2-9x-9-1
-x^2-9x-10
f(x)=-x^2-9x-10
Divide total pieces of candy by total people:
35 / 5 = 7
Each person receives 7 pieces of candy