Hi, I’m really confused with this question and I’m not sure how to solve it!

SOLUTION
The figure below would help in answering the question
Let's get the slopes of the line for company G and company H
Slope m is given as
[tex]m=\frac{rise}{run}[/tex]For company G, we have slope as
[tex]m=\frac{5}{1}=5[/tex]For Company H, we have
[tex]m=\frac{4}{1}=4[/tex]From the graph
Cab fare for 1 mile with company G is $7
Cab fare for 10 miles with company H is?
To get this we need to get the equation of the line H
From
[tex]\begin{gathered} y=mx+b \\ where\text{ m is slope and b is the y-intercept, we have } \\ y=4x+2 \end{gathered}[/tex]Now substituting x for 10 in the equation, we have
[tex]\begin{gathered} y=4x+2 \\ y=4(10)+2 \\ y=40+2 \\ y=42 \end{gathered}[/tex]Hence the cab fare for 10 miles with Company H is $42
The rate charge per mile by Company G is the slope we got as 5.
Hence the answer is $5 per mile
The rate charge per mile by Company H is the slope we got as 4.
Hence the answer is $4 per mile