How to input multiple notes on a staff with different durations

Voices allow you to have notes on a single staff which occur at the same time, yet have different durations.

See Voices.

Handbook links: 
Voices