Hi there!
We can begin by solving for the velocity in which the ball was thrown at using the following:
At the top of the trajectory, the ball's velocity is equal to 0 m/s, so:
'a' = acceleration due to gravity and 'd' is the max height, so:
Now, we can use the same equation to calculate the final speed at 4.5 m. Remember, the acceleration is NEGATIVE in this instance (taking the negative direction to be in the direction of gravity).