Well, hopefully you won't mind my help, too.
"How do you do?" is used in formal situations, but it's not used all that much any more in North America. "How are you?" is more common these days, and it's used in both formal and informal situations.
- For Teachers