In the page there's a simple draw and translate it to game would be(wich is very easy).
Adjacent Side = Distance from you and player
Angle q = diference Angle between where you are shooting and player location
with that you get:
I want to calculate = hypotenuse side (wich is the bullet beam ending at the nearest point from player) and you get opposite side (wich is what you want!)
The only minor detail is that it doesn't directly get's you the bullet nearest point but the size side so you use the hypotenuse side + your location= and you get the coordinate