The equation of the line is y = 1 + 3x and the total cost for 4 hours is $13
<h3>The equation of the line in slope--intercept form</h3>
From the question, we have the following parameters
Cost per hour = $3
Deposit = $1
The equation in slope-intercept form for the line is represented as
y = Deposit + Cost per hour * x
Where x is the number of hours a bike is rented and y is the total cost of renting a bike.
Substitute the known values in the above equation
y = 1 + 3x
<h3>The cost for 4 hours</h3>
Here, we have
x = 4
Substitute x = 4 in y = 1 + 3x
y = 1 + 3 x 4
Evaluate
y = 13
Hence, the cost is $13
Read more about linear equations at
brainly.com/question/2030026
#SPJ1