In "Harry the One-Man-Band," the lines "Give him a penny / He don't get many / Give him a shilling if you can" are sung to a melody something like:
The paucity of "He don't get many" and the small value of the penny itself are both reflected by the few pitches in the first half of the phrase (only F, A, and Bb). Similarly, the greater number of pitches in the second half corresponds to the greater value of the shilling. The inclusion of an accidental (B natural) in the second half of the phrase further highlights this contrast.
Some of these features are present even in the lyrics alone since "Give him a penny" and "He don't get many" are both short lines and "Give him a shilling if you can" is longer.