How to find the look at rotation while keeping control of the up vector ?

Hello, so I’m trying to use the “Find Look at Rotation” function in order to align a car mesh between two sets of wheels (roller coaster). Unfortunately I’m having an issue with the roll when it comes to beyond 90° angles and angles that use yaw…

Below is my BP and the issue


EDIT: The goal is to find the pitch between a socket at the back wheels to the socket of the attachment point of the car in front.

Any help would be appreciated.