I think that what they did here is a standard "trick" used a lot in geometry-trigonometry problems: they draw a a help-line (or help-circle or whatever) in order to make the problem easier and/or more manageable.
In the present case, they extend in a straight way the line FJ from the side of J all the way until it meets in point X the straight extension of line OL in order to form the straight-angle triangle $\,\Delta FOX\,$, with $\,\angle FOX=90\,$ , and **now** they can use trigonometric functions to do stuff...!