Eric's equation is
Because he already completed 10 hours, and it's going to complete more hours at a rate of 1 hour per week, where x is weeks.
Leo's equation is
Because he's going to complete hours at a rate of 2 hours per week.
Now, we graph the system using a calculator, as the image below shows
As you can observe, the point of intersection is (10,20), which means they will have the same worked hours after 10 weeks.