The graph of a quadratic function has x-intercepts of -7 and -1, and passes through the point (-4,36). Determine the equation of the quadratic function in the form
f(x) = a(x - m)(x − n).