Hi - I read it again.
So the plane in B and the mesh have to face A, so it doesn’t matter which one we fix, the other will need to follow suit.
As far as I can see, to get B to point it’s gear at A’s XY it’s just a ‘look at rotation’ node, but only using the Z rotation of that.