What is the relationship between the vertical and horizontal shifts of a quadratic parent function and its corresponding g(x) function?