Rachel graphs a quadratic function. The graph of her quadratic function has a vertex at (3, -12) and passes through the point (0,15). Write the equation for this function in vertex form and describe the transformation.