XY Plot from different time Series

I want to generate an XY plot from 2 different Influxdb data sources. The data points are recorded there with f = 0.00167 Hz.
I suspect the data must first be summarized in a table, but I don’t have the solution. Thank you for your help.

Grafana v8.3.6 unter Windows