Composing Music in Sonata Form