First, open your friend's video and tap the share button, then tap the duet button. It is all that simple.