We know that this is a projectile motion. which means that the horizontal and vertical position at any given time are given by the equations:
Vertically, we know that the initial height is 1.5 m, the final height is 12 m; we also know that the initial velocity is 28m/s and that is has an angle of 46° and that the acceleration of gravity is 9.8 m/s2; plugging these values in the equation for the vertical position we have:
Solving for the time using the quadratic formula we have:
Hence, the ball will have a height of 12 m at 0.61 s or 3.5 s.
Once we know the time when the ball reaches this height we need to notice that the problem says that the ball lands on the roof, from this we can conclude that the ball is already falling when this happens and for this reason we will use the second time, that is 3.5 s.
Now that we determine this, we just need to plug the values in the expression for the x position, in here we will assume the initial position on the x direction is zero, then we have:
Therefore, the horizontal distance the ball travelled is 68.1 meters