To find out after how many hours Leila and Mark will have the same amount of money, we can set up equations based on their earnings and initial savings.
Let \( h \) be the number of hours they work.
Leila's total amount of money after \( h \) hours is: \[ \text{Leila's Money} = 30 + 4h \]
Mark's total amount of money after \( h \) hours is: \[ \text{Mark's Money} = 5 + 5h \]
We want to find the value of \( h \) when their total amounts are equal: \[ 30 + 4h = 5 + 5h \]
Now, let's solve for \( h \):
- Subtract \( 4h \) from both sides: \[ 30 = 5 + 5h - 4h \] Simplifying gives: \[ 30 = 5 + h \]
- Subtract 5 from both sides: \[ 30 - 5 = h \] Thus: \[ h = 25 \]
So, Leila and Mark will have the same amount of money after 25 hours.