An equal sum is invested for seven 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 thrice of the interest earned from scheme B. Had the ratio of interest been x – 4% simple interest per annum in scheme A, the difference in the interest earned from both the schemes would have been INR 700/-, What was the sum invested in each of the schemes?