How can I make part looks at motor6d's Part1 joint?

How can I make part (red part on picture) positions at motor6d’s Part0 joint and look at motor6d’s Part1 joint?

so it looks like this (sorry for bad drawing i only used mouse) :

what are you trying to do? make a motor6D that connects the two blue circles?