Suppose you had d dollars in your bank account. You spent $9 but have at least $40 left. How much money did you have initially? Write and solve an inequality that represents this situation.

d - 9 > 40

To find out how much money you had initially, we need to solve an inequality. Let's break down the problem.

Let's say you initially had d dollars in your bank account. You spent $9, so you would have d - 9 dollars left. According to the given information, you still have at least $40 left, so we can write the inequality:

d - 9 ≥ 40

To solve this inequality, we can isolate the variable d by adding 9 to both sides:

d ≥ 40 + 9

Simplifying, we get:

d ≥ 49

Therefore, you initially had at least $49 in your bank account.