A rock is thrown at a window that is located 18m above the ground. The rock is thrown at an angle 40 degrees above the horizontal. The rock is thrown from a height of 2.00m above the ground with a speed of 30m/s and experiences no appreciable air resistance. If the rock strikes the window on its upward trajectory, from what horizontal distance from the window was it released?