For Kim:
Since Kim starts with $500 and spents $15 per week, then
She has: 500 - 15x, where x is the number of weeks
For her brother:
Since her brother starts with $800 and spends $35 per week, then
He has 800 - 35x, where x is the number of weeks
a. The expressions are:

If Kim has more than her brother, then we should write an inequality

Let us solve it to find the range of x
Add 35x to both sides

Subtract 500 from both sides

Divide both sides by 20

x should be greater than 15
b. Kim has more money than Roy after 15 weeks