Let $A=(a,b,c)$, $B=(d,e,f)$ and $C=(g,h,i)$ be points in the $3$-dimensional real vector space.
It is well known that we can consider a new referential where we can see these points as $A'=(0,0,0)$, $B'=(\alpha,0,0)$ and $C'=(\beta,\gamma,\delta)$.
What are the functions which we have to apply to get it?
One of them is a simple translation, but we also need one rotation that I am not sure how to get it.