try the Misc > On created as event for the moon
spawning the star at a random offset from the moon is done thorugh Size & Position > Set position with X being something like Moon.X+random(Range[-100,100]]
or something like that, look up the syntax
plus the corresponding line for Y, of course