Given the range for a quadratic function is (-∞,5] and two of the points on the function are (-2,3) and (1,-3) determine the equation for the function in the form of y=a(x-h)^2+k