ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions.
Learn more here
Here is my solution. For the second variant (calculating angle and hypotenuse without spatial tool) I took help because i don't have experience with spacial functions in the Formula tool. Very interesting task.