Jake begins the summer with 1,000 marbles in his collection.he aims to have minimum of 500 marbles left by the end of the summer. Each week, he gives away 100 marbles to friends. Write an inequality to determine the number of weeks Jake can continue giving away marbles and find the solution.

Let x be the number of weeks Jake can continue giving away marbles.

The number of marbles Jake will have left by the end of the summer is 1000 - 100x.

According to the problem, Jake aims to have a minimum of 500 marbles left, so we can write the inequality:

1000 - 100x ≥ 500

To solve this inequality, we can subtract 1000 from both sides and divide both sides by -100:

-100x ≤ -500

x ≤ 5

So, Jake can continue giving away marbles for a maximum of 5 weeks.