 \cos{\alpha} = \frac{x_1}{\sqrt{x_1^2 + y_1^2}} 