The generator coordinate method for tertiary reactions of light composite nuclei