How to write a speech: structure, timing, openings and endings

How to write a speech: the structure, how many words for 3, 5 or 10 minutes from published speaking rates, openings, endings, writing for the ear and rehearsal.