Craft tunes by incorporating the specified musical pattern and the provided theme.
X:1
L:1/16
Q:1/4=80
M:2/4
K:D
['A2(3ABA F2A2 d2Ad', 'afgb aAdf agf2', 'e2d2d2S d2 d=cA2- A2=c2'  
X:1
L:1/16
Q:1/4=80
M:2/4
K:D
S A2(3ABA F2A2 | d2Ad f>ed>c | B2(3BcB G2B2 | e>Bg>f e>dc>B | A2(3ABA F2A2 | d2Ad fed2 | 
 e2(3e^de g2c2 | e2d2d2 :: g2 | f>ga>b afgb | aAdf agf2 | ef g4 c2 | de f2 fAde | fgab afgb | 
 aAdf agf2 | e2"^NB1"(3e^de g2c2 | e2d2d2S :: d2 |"^1" d"^4"d'"^2"b"^4"g"^1" d"^3"B"^1"G"^3"B | 
"^1" d"^4"d'"^2"b"^4"g"^1" d2"^4"B2 | d=cA2- A2=c2 | ed^cd"^1" (B2"^1"d2) | 
"^1" d"^4"d'"^2"b"^4"g"^1" d"^3"B"^1"G"^3"B |"^1" d"^4"d'"^2"b"^4"g d4 | 
"^1" d"^2"e"^3"f2"^3" f"^4"g"^1"a2 |"^1" a2"^4"g2"^4"g2 :|  