So yeah, since pictures say more than 1000 words...
So you can see on this very-much-time-spend-into-sketch that it's about point 1 and point 2 connected with each other. What I have are x and y values of both points. What I would like you to help with is the angle between the imaginatory line between those two points and the x-axis of point 1... or rather the syntax to calculate it relatively easy ^^
Thanks in advance for your help here.

So you can see on this very-much-time-spend-into-sketch that it's about point 1 and point 2 connected with each other. What I have are x and y values of both points. What I would like you to help with is the angle between the imaginatory line between those two points and the x-axis of point 1... or rather the syntax to calculate it relatively easy ^^
Thanks in advance for your help here.