Suppose there is a planet in a solar system with three stars. How would the orbital mechanics work for this hypothetical trisolarian system?