Composer Stephen Schwartz explains the concept in regard to the 1995 Disney film Pocahontas: .
It's not really that there is a "formula" for these things, but I have learned over the years that pretty much any successful musical you can name has an "I Want" song for its main character within the first fifteen or so minutes of the show.