It's not instant composing; it's not following any kind of a formula. All you do is hear music in your head and reproduce it.
or simply: