How Do I Create A graph That References differences of two Variable (But the time stamp is different)?

Hi,

I am am trying to figure out to create a graph(displays displacement values of the ride) that contains the value of difference in two variables(two different selected rides) which has different time stamps for them.

Need to represent the difference in two rides(variables) displacement in a single graph.

How do I try to achieve my goal any insights related to this is appreciated.
image

Looking forward to suggestions.

Best Regards,
Prash