Here is the Hw question:

An archerfish hunts by dislodging an unsuspecting insect from its resting place with a stream of water expelled from the fish’s mouth. Suppose the archerfish squirts water with a speed of 2.3 m/s at an angle of 50 degrees above the horizontal, aiming for a beetle on a leaf that is 3 cm above the water’s surface. At what horizontal distance (in cm) should the archerfish be from the beetle to minimize the time the beetle has to react?
I am not sure where to start any help would be greatly appreciated. Thanks!