Given the intersection points (- 1,0) and (3,0) of the image and X of the quadratic function, and the intercept of the image on the Y axis is - 15, find its analytical formula

Given the intersection points (- 1,0) and (3,0) of the image and X of the quadratic function, and the intercept of the image on the Y axis is - 15, find its analytical formula

Let the analytic formula be y = a (x + 1) (x-3)
X = 0, y = - 15
15 = - 3a
a=5
∴y=5(x+1)(x-3)=5x²-10x-15