Replacement fan and wiring question

fantastic info, thanks so much! will give it a try