The rule of the compounded interest is

Where:
A is the new amount
P is the initial amount
r is the rate in decimal
n is a number of periods per year
t is the time in years
For the first account:
P = 1200
r = 2.7% = 2.7/100 = 0.027
n = 365 ------ compounded daily
t = 2

The account will have $12665.79 in 2 years
For the second account:
P = 1000
r = 3.9% = 3.9/100 = 0.039
n = 1 ------- compounded annually
t = 2

The account will have $1079.52
Let us find the difference between them

The first account is more by $187.06