Answer:
Step-by-step explanation
1. Let \( x \) be the number of days Eric worked. He was supposed to work for 25 days, so the number of days he did not work is \( 25 - x \).
2. Eric earns $350 for each day he works, so his earnings from working are \( 350x \).
3. He loses $50 for each day he doesn't work, so his deductions are \( 50(25 - x) \).
4. His total earnings at the end of the month are $6350, so the equation is \( 350x - 50(25 - x) = 6350 \).
5. Simplify the equation:
\[
350x - 1250 + 50x = 6350
\]
\[
400x - 1250 = 6350
\]
6. Solve for \( x \):
\[
400x = 7600
\]
\[
x = 19
\]
Therefore, Eric worked for 19 days.