Answer:
Approximately 3.03 seconds.
Step-by-step explanation:
The distance traveled in the vertical direction is given by the kinematic equation:

Where v_iy and a are the initial velocity and acceleration of the object, respectively, in the vertical direction.
Because the rock is thrown horizontally, there is no horizontal velocity. Therefore:

The vertical acceleration is simply gravity g. This, this yields the general equation:

Substitute 45 m for y and solve for time t:

Therefore, it will take approximately 3.03 seconds for the rock to fall 45 meters vertically.