Find the nearest multiple of 10 and find out how much you have to + or – (k) to get to that number. Then do the opposite function (+ or -) to get two numbers that average out to n (i.e. n + k and n – k). Multiply the two numbers and add square of k.
Register For This Site