S1 + 10*12.5 + S2 = 675, 12.5^2 - 10^2 = 2*a*S1, 20^2 - 12.5^2 = 2(3a)S2