A parabola has an x-intercept at 2, its axis of symmetry is the line x=4, and the y-coordinate of its vertex is 6. Determine the equation of the parabola.