How to practice scales while composing melodies