Develop a musical composition based on the specified form and using the given motif.
X:1
L:1/8
M:4/4
K:D
['e d<aag fddf B<Bed cAAe d<aag fdfa', 'fdge fddf B<Bed'  
X:1
L:1/8
M:4/4
K:D
 e | d<aag fddf | B<Bed cAAe | d<aag fdfa | B<BcA d2 d :| g | fdge fddf | B<Bed cAAg | fdge fdfa | 
 B<BcA d2 dg | fdge fddf | B<Bed cAAa | afge fdfa | B<BcA d2 d ||  