Write the equation in vertex form to find the maximum height, as well as the time when the maximum height is reached.
The vertex form of a quadratic equation is:

Where (h,k) is the vertex of the parabola, k is the maximum or minimum value and h is the value of x where that maximum or minimum is reached.
To write h in vertex form, complete the square:

We can see that in this case, the vertex is (3,45).
Therefore:
1)

2)
The ball reaches the maximum height 3 seconds after being hit.