In the quadratic function y = - X & sup2; + (2m + 2) x - (M & sup2; + 4m-3), M is an integer not less than 0. Its image and X-axis intersect at two points a and B, and point a is on the left side of the origin, and point B is on the right side of the origin. (1) find the analytic formula of quadratic function. (2) the image of primary function y = KX + B crosses point a and the image of secondary function intersects at point C, and s △ ABC = 10, find the analytic formula of primary function

In the quadratic function y = - X & sup2; + (2m + 2) x - (M & sup2; + 4m-3), M is an integer not less than 0. Its image and X-axis intersect at two points a and B, and point a is on the left side of the origin, and point B is on the right side of the origin. (1) find the analytic formula of quadratic function. (2) the image of primary function y = KX + B crosses point a and the image of secondary function intersects at point C, and s △ ABC = 10, find the analytic formula of primary function

(1) Y = - x2 + 2x + 3 (2) y = - X-1 or y = 5x + 5