Both would be stable. A single moon orbiting a planet is generally stable provided it's comfortably inside the true region of stability, in the Hill Sphere and provided that it's not so large that tidal forces become a stability issue or not so close that it dips inside the roche limit and might break apart.
The only way you might run into instability in your scenarios, is if you have the smaller moon very close, inside the Geosynchronous orbital distance, where the Moon would move ahead of the tidal bulge it creates and that would cause the Moon to be drawn towards the planet and in time, crash into it, similar to how Phobos is expected to crash into/break into a ring system around Mars.
As the planet moves away from the sun it's stable region expands. The geosynchronous orbit is unrelated to the sun, that's between the masses of the planet and moon only, but as long as your moon is orbiting between geosynchronous orbit and inside the stable region of the hill sphere, it should be fine. (unless you give the planet or moons a retrograde rotation, then you need to re-examine the long term tidal effects). For most orbits, the planet rotates ahead of the Moon so the tidal bulge pushes the Moon slowly outwards, but this effect gets weaker as the Moon gets further, so it's generally long term stable over billions of years, unless the planet is very close to the sun and it has a tiny hill-sphere.
Only two well known moons in our solar-system orbit ahead of their tidal bulges that leads to orbital decay (a handful of tiny captured moons do too, but those are so small and their tidal forces are largely irrelevant). Only Phobos and Neptune's wrong way moon Triton orbit ahead of their tidal bulges, resulting in them being pulled towards their planets, not pushed away. Triton is sufficiently distant that it's timing to crash into/break into a ring system around Neptune is billions of years off. All the other moons, for tidal reasons, should be moving away from their planets, mostly very very gradually.
The 4 Jovian moons, however, are more complicated as Jupiter has a gonzo magnetic field, a magnetosphere that's almost wind like and it's moons are tidally locked to each other and it's innermost moon is losing mass to Jupiter's magnetosphere - so . . . all bets are off when it comes to Jupiter's 4 inner moons.
2 or more large moons can sometimes interact with each other, creating some instability. One moon systems are, more often than not, long term stable.