Which of the following transform equals y= x^2 to the graph of y=(x+5)^2?

A: a translation 5 units to the right
B: a translation 5 units to the left
C: a translation 5 units down
D: a translation 5 units up