Transfer the length AB to the ray, i.e., AB=SX.
This is not difficult, if you use the advanced circle tool.
Continue