Select the algebraic equation that correctly represents the given sentence.

Tina had $640 in her bank account. When she took out d dollars, her balance was $460.
A. $460 – d = $640
B. $640 – d = $460
C. $640 + $460 = d
D. $460 – $640 = d