A linear equation can be written as:
Let:
y = c = Cost
x = h = Hours
Using the data, we can create a 2x2 system of equations. So:
Using elimination method:
Therefore,the linear equation is given by:
For a equation of the form y = mx + b
m = Slope (rate)
b = y-intercept (Initial value)
Therefore the hourly rate for renting a bicycle is $5 and the deposit is $10