The quadratic function f is negative only on the open interval (−2, 1/4 ) and its graph passes through the point (−1, −5). Determine the coefficients of f and sketch its graph.

f(x) is negative between the roots, so

f(x) = a(x+2)(x - 1/4)
Since f(-1) = -5,
a(1)(-5/4) = -5
Solve for a, and then you have f(x)