First of all, the relative minimum of a parabola means the one and only vertex of that parabola. Therefore, you must have the following:
y = ax2 + bx has its vertex (or absolute minimum) at (-1, -7) as given.
y [at x = -1] = -7 = a(-1)2 + b(-1) = a - b, so -a + b = 7 [Equation 1]
y [at x = 0] = a(0)2 + b(0) = 0 + 0 = 0, so to have a symmetric parabola, we also must have:
y [at x = -2] = a(-2)2 + b(-2) = 4a - 2b = 0, so 2a - b = 0 [Equation 2]
Therefore, we can add [Equation 1] and [Equation 2] together to get
[-a + b = 7] + [2a - b = 0] ===> 1a + 0b = a = 7 + 0 = 7, so a = 7,
and then we can plug a = 7 into [Equation 1] to get:
-(7) + b = 7 ===> b = 7 + 7 = 14, so b = 14, and we finally have:
y = ax2 + bx = 7x2 + 14x.