Input data
Points
(2, 8)
(20, 18)
First of all, remember what the equation of a line is:
y = mx+b
Where:
m is the slope, and
b is the y-intercept
First, let's find what m is, the slope of the line...
[tex]\begin{gathered} m=\frac{y2-y1}{x2-x1} \\ m=\frac{18-8}{20-2} \\ m=\frac{5}{9} \end{gathered}[/tex][tex]\begin{gathered} b=y-mx \\ b=8-\frac{5}{9}2 \\ b=\frac{62}{9} \end{gathered}[/tex]The equation of the line that passes through the points. For this case we can use the linear model given:
[tex]y=0.55x+6.8[/tex]predict the hourly pay rate for a cashier with 14
[tex]\begin{gathered} y=0.55(14)+6.8 \\ y=14.5\text{ dollars per hour} \end{gathered}[/tex](a) y = 0.55x+6.8
(b) 14.5 dollars per hour