Q: how someone learn composing better melodies
A: try this trick: compose 10 melodies and try to promise that they will all be bad. see what happens