Think about it. Does your friend sound higher when they are upwind? The sound heard will have frequency f.
Think about it.
Does your friend sound higher when they are upwind?