Research charts stellar birthplaces in the Whirlpool galaxy