Answer:
4.25m
Explanation:
The horizontal and vertical component of the velocity as it leaves the roof is


Neglect air resistance, then gravitational acceleration g = 10m/s2 is the only thing that affect the vertical motion of the hammer. We can use the following equation of motion to solve for the time t of dropping

where h = 10m is the distance of dropping before the hammer reaches the ground


t = 1.23 or t = -1.63
Since t can only be positive we will pick t = 1.23
t is also the time that it takes to travel horizontally at the constant rate of 3.64 m/s
So the horizontal distance traveled by the hammer is
3.64*1.23 = 4.25 m