Vector Math Question

Thanks for your time guys. I explained what I need Wrong
I know the Vector3 positions of A, B and C.
I want to get the rotation of A so that it is facing the middle of B and C on all 3 axis