How to find the angle between 2 look vectors originating from the same point?

Hello
I have 2 parts, which have the same origin point and are on the same horizontal plane. How can I find the angle between the 2 look vectors?

Thanks

vector1 {x1,y1,z1}
vector2 {x2,y2,z2}
angel = arccos((x1x2 + y1y2 + z1z2) / vector1Length * vector2Length)

I have written this with my math knowledge correct me if i am wrong Thanks!