An equal sum is invested for six years in scheme A offering simple interest at X% p.a. and in Scheme B for two years offering compound interest at 10% p.a. (compounded annually). The interest earned from Scheme A is double the interest earned from Scheme B. Had the rate of interest been X+2% simple interest p.a. in scheme A, the difference in the interests earned from both the schemes would have been INR 3960/-, what was the sum invested in each of the scheme