Find the quadratic function whose graph has a vertex at (3, 5) and passes through the point (1, -3). Express the function in both standard and general forms