What transformation occurs from the graph y = x² to the graph of y = (x − 5)² + 7?

A a vertical shift up 5 units and a horizontal shift right 7.
B a vertical shift down 5 units and a horizontal shift right 7
C a vertical shift up 7 units and a horizontal shift left 5
D a vertical shift up 7 units and a horizontal shift right 5