New galaxy sheds light on how stars form