Answer: [tex]y=-2x+30[/tex]
Step-by-step explanation:
The equation of the line in Slope-Intercept form is:
[tex]y=mx+b[/tex]
Where "m" is the slope of the line and "b" is the y-intercept.
Let be "x" the number of days left.
Let be "y" the number of hours Joey has left affter "x" days.
You know that Joey does Community service 2 hours per day. Then, this can be represent as:
[tex]2x[/tex]
Since the total number of hours he must complete is 30, you need to subtract [tex]2x[/tex] from 30 in order to find the number of hours he has left.
Therefore, you can write the following linear equation to represent the hours Joey has left after "x" days:
[tex]y=30-2x[/tex] or [tex]y=-2x+30[/tex]