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

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

x−38.45=17.71

x + 38.45 = 17.71

17.71x = 38.45

x + 17.71 = 38.45