hi community!
The green arrow is the entity I want to track, and the red arrow is the entity I need to look at

In other words, the position of the camera depends on the tracked object, and the orientation of the camera depends on the object you need to look at.
How should I achieve it