I would like to find the coordinates of the points $A, B, C, D$ that represent the coordinates of the rectangle drown on the line that starts from $(c_x, c_y)$ and its lenght is $w$. I know rectangle dimensions $(w, h)$ and the angle $α$.
To be honest, I don't know how to start. Can you suggest me something? Thanks a lot!

While I agree with @user's answer, there are some details that can be added. Firstly, according to the picture, the sign convention for the rotation is opposite of that of the normal convention. Therefore, we must replace $\alpha$ with $-\alpha$. Now, for any point described by coordinates $(x,y)$, the rotated point $(x', y')$ is $$ \left( \begin{array}{c} x' \\ y' \end{array} \right) = \left[ \begin{array}{cc} \cos \alpha & \sin \alpha \\ -\sin {\alpha} & \cos \alpha \end{array} \right] \left( \begin{array}{c} x \\ y \end{array} \right) = \left( \begin{array}{c} \cos \alpha \cdot x + \sin \alpha \cdot y \\ -\sin \alpha \cdot x + \cos \alpha \cdot y \end{array} \right) $$ The last part is figuring out the coordinates $(x,y)$ for each of the four corner points. We know the width $w$ and height $h$, so the unrotated points are (just interpreting from the picture)
And there you have it! You can now use the formula to calculate the points.