Greg is saving to buy a tablet that costs $235. He already has $25 saved up. Each week, Greg earns $15 babysitting and $25 as a cashier, but he spends $10 on lunches. Write and solve an equation to find how many weeks it will take Greg to have enough money saved to buy the tablet.