SpaceX interview question

Questions about 1-D flow through a pipe