Where can a Trappist-1 planetary system be produced?

Where can a Trappist-1 planetary system be produced?