The square of a number, n, is equal to the sum of that number and 5. Which equation represents this relationship?

A. 2n = n + 5
B. n2 = n + 5
C. 2n = n ​−​ 5
D. (n + 5)2 = n + 5