The form of the equation of the line is
where m is the slope and b is the y-intercept
In this case we will use
$170 for 3 hours as a point (3,170)
$220 for 5 hours as a pint (5,220)
First, we will use the next formula to find the slope of the line
In this case
(3,170)=(x1,y1)
(5,220)=(x2,y2)
we substitute
Then we calculate the the y-intercept using one point
The equation is