To be clear, there is not universal way to solve a 3 orbiting bodies problem, but there are possible solutions. Some are quite "creative" and mesmerizing to watch!
BTW - These all assume the 3 bodies have the same mass. I am pretty sure the solutions would still work, just with different spacings / slightly different paths (?)
This is supposed to be an animated gif. Is anyone seeing that (WAY more interesting animated!)
Here is a short video version (with a strange hitch in the middle):