The K-pop group’s songwriting team, 3racha, worked with Puth at a song camp