Theory
A cost graph can include a charge before you use any units. In the taxi example the vertical axis is total fare in pounds and the horizontal axis is distance in kilometres. The line starts at £3 when distance is 0 km, so £3 is the fixed charge.
The extra cost per kilometre comes from the change between two points. The fare rises from £3 at 0 km to £5 at 1 km, so it increases by £2 for each kilometre. The line's gradient is £2 per km.
Put the two parts together: total fare = fixed charge + cost per kilometre x kilometres. Here C = 3 + 2d, where d is distance in km and C is cost in pounds.
For 3 km, C = 3 + 2 x 3 = £9. To work backwards from a £11 fare, take off the £3 fixed charge, then divide the remaining £8 by £2 per km: the distance is 4 km.
Unlike a pure conversion graph, the line does not pass through (0, 0). Its height at zero tells you the fixed cost. Check whether the question asks for the total price or only the extra cost.