Chandler will need to work 6 hours to pay off the debt owed to his mom. After those 6 hours of work, and the debt paid off, Chandler will have $1 left over.
We can divide 345 by 6 to see the remaining hours.
345/6 = 57.5.
Chandler would need to work for 57.5 hours after paying off the debt owed to be able to afford the bike, working for a grand total of 63.5 hours.
Not sure if they would pay for a half an hour of work, so Chandler may need to work 64 hours, unless it’s stated they’d pay for a partial hour of work.
Hope this helps!