Which of the following is the equation of the parabola that has a vertex at (3,7) and passes through the point (5,−1)?
y=−2(x−3)2+7
y=−2(x−7)2+3
y=2(x−3)2+7
y=−1(x−3)2+7