The range of the function f(k) = k^2 + 2k + 1 is {25, 64}. What is the function’s domain?

A. {5,8}
B. {-5, -8}
C. {3, 8}
D. {4, 7}
E. {4, 8}