If you would like to find a linear model that represents the cost of a taxi ride, you can calculate this using the following steps:
2-mile taxi ride ... $5.00
4-mile taxi ride ... $9.00
x ... miles
y ... the cost in dollars
l ... constant
y = l x + $1.00
$5.00 = l 2 + $1.00
5 = l * 2 + 1
5 - 1 = l * 2
4 = l * 2
l = 4/2
l = 2
$9.00 = l * 4 + $1.00
9 = l * 4 + 1
9 - 1 = l * 4
8 = l * 4
l = 8/4
l = 2
The correct result would be y = 2 * x + $1.00.