A lighthouse is located on a small island 3 km away from the nearest point P

A lighthouse is located on a small island 3 km away from the nearest point P on a straight shoreline and its light makes four revolutions per minute. How fast is the beam of light moving along the shoreline when it is 1 km from P?