Gimp help needed

I would like a way to auto fit all 45 pic’s into the area.