Amir stands on a balcony and throws a ball to his dog, who is at ground level.


The ball's height (in meters above the ground), x seconds after Amir threw it, is modeled by

h(x)=-(x+1)(x-7)

What is the maximum height that the ball will reach?