Template talk:OrbitSynodicPeriod
From Kerbal Space Program Wiki
It can be done with other moons as well if you change the equation.
T_synod = (Parent's siderial period * moon's siderial period)/Abs(Parent's siderial period - moon's siderial period)