If we make equations:
y-total mileage, x-years of driving
Elena: y=9000+22000*x
Marc: y=22000+22000*x
The general form of the linear function is: y=kx+n, where k represents the slope of the line relative to the x axis, and n tells us where the line will intersect the y axis.
This two functions have same k coefficient, so they have same slopes but different y-intercepts, so the lines do not intersect which means the mileage of two cars will never be equal.