PLZZZ ANSWER QUICK!!!

Martha spent $38.45 on a new shirt and now has $17.71 in her pocket. sh

which equation can be used to find how much money, x, she had in her pocket before buying the shirt?

A. x - 38.45 = 17.71
B. x + 17.71 = 38.45
C. 17.71x = 38.45
D. x + 38.45 = 17.71