Math problem (trigoniometry)

OMG it worked, finally my days of frustration are over :smiley:
I only needed to use rectangle ACD to calculate the position of the upper arm :open_mouth:
Here and there some tweaking, and now its perfect.

Thank you so much for bearing with me, im so happy :D:D