The melody of this schema is quite flexible. The bass/harmony are the more definitive elements. Also note that, in contrast to the other “presentation” schemata, this schema is far more common in slower movements.
This schema modulates from the tonic to the dominant. It is a common continuation phrase for a modulating sentence. It is also a common framework for a tutti passage that begins the transition module of a sonata/symphony movement.
This is a common approach to a half cadence, especially at the end of a sonata movement’s transition (TR) module. The definitive element is the bass line: fa–fi–sol. The re–do–ti melody is common, and the most active of the possibilities that fit the harmonies. See Mozart’s K. 545, I., mm. 10–11, and K. 333, I., mm. 17–18, for examples.
(The Compound HC can be approached by any S chord, or even the end of the tonic prolongational zone.)
There are, of course, more cadence patterns than these, but these are the most straightforward for framing an improvisation, or a simple model composition. See Classical cadence types for more details about standard cadential patterns.