Because the vertical velocity is constantly changing under the influence of gravity and we are not initially sure where the trajectory peaks, the most efficient way to find the initial velocity in this question is to start from the horizontal velocity.
The issue is that the vertical velocity changes (the horizontal velocity stays constant). By the time the ball reaches the wall, the initial vertical velocity has decreased quite a bit. It may also have gone to zero (if the ball is at the peak of its trajectory) or changed direction (if it has started to move downward after passing the peak.) If you try to use this value to find the initial velocity, it will not yield the correct answer.
You've done the question correctly by using the horizontal velocity to find the initial velocity. You can then use that to find the vertical velocity.
What you can't do is simply divide the 7.2 m height of the roof by the 2.1 s and then use that to calculate the initial vertical velocity using the sin.
Let's work out the initial vertical velocity,
Given the precision to which we were given the data, this should be written as
Now we can use this to calculate the maximum height to which the ball flew. For the top of the trajectory
That's significantly higher than the
Now let's find out when it reaches that height: before or after crossing the wall.
This is less than the
I hope this helps to answer your question: the ball does not simply move from
Side note: It's better to write