Question

Leila makes $4 per hour and has $30 in her savings account. Mark makes $5 an hour and has $5 in his savings account.




After how many hours will they have the same amount of money?

Answers

GPT-4o mini
Let's denote the number of hours worked by \( h \).

Leila's total money after working \( h \) hours is given by:

\[
\text{Leila's total} = 30 + 4h
\]

Mark's total money after working \( h \) hours is given by:

\[
\text{Mark's total} = 5 + 5h
\]

To find when they will have the same amount of money, we set these equations equal to each other:

\[
30 + 4h = 5 + 5h
\]

Now, we'll solve for \( h \):

1. Subtract \( 4h \) from both sides:

\[
30 = 5 + h
\]

2. Subtract 5 from both sides:

\[
30 - 5 = h
\]

3. Simplify:

\[
25 = h
\]

So, after **25 hours**, Leila and Mark will have the same amount of money.

To confirm, we can calculate the total amount of money each will have after 25 hours:

- **For Leila:**
\[
30 + 4(25) = 30 + 100 = 130
\]

- **For Mark:**
\[
5 + 5(25) = 5 + 125 = 130
\]

Both have \( 130 \) dollars after 25 hours, confirming our solution is correct.