Develop a musical composition based on the specified form and using the given motif.
X:1
L:1/8
M:4/4
K:D
['BE E/E/E B,EG,B, E^GBe ^geBc dD D/D/D', 'eB B/B/B eBef gefd eBBc'  
X:1
L:1/8
M:4/4
K:D
 e2 | BE E/E/E B,EG,B, | E^GBe ^geBc | dD D/D/D CDB,D | A,DFA dAFA | BE E/E/E B,EG,B, | 
 E^GBe ^geBc | dD D/D/D TB2 AF | GBAF E/E/E E :| f | eB B/B/B eBef | gefd eBBc | dA A/A/A Tf2 e2 | 
 dcde fedf | eB B/B/B eBef | gefd eBBc | dcBA TB2 AF | GBAF TE2 E :|  