We will have the following:
We are given that the position of the baseball is described by:
Now, to determine after how much time the baseball hits the Moon's surface we proceed:
So, since it would certainly make little sense to talk about negative time in this problem we will have that it would take approximately 18.65 seconds for the baseball to hit the Moon's surface.