Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
['A2 d>e(fd) dcBA BcdB BAGF G>ABc dedc', 'A>BAF A>BAF'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
 A2 | d>e(fd) dcBA | BcdB BAGF | G>ABc dedc | A>BAG F2 EA | d>efd d>cBA | ^GABc defg | 
 a>fec B>ABc | A2 AA A2 :: (A/B/c/d/) | e>fec A2 de | f>gfd B2 gf | edcB dcB^A | B2 BB B2 dB | 
 A>BAF A>BAF | A>BAF A2 fg | afdf e>def | d2 dd d2 :|  