First you get the equations
1st's plan total cost = 0,08x + 59
2nd's = 0,10x + 46
(x stands for the total of miles)
a) For you two know when the costs will be the same, you set one equation equal to the other and you find out that if you drive 650 miles, you'd pay the same amount of money. It doesn't matter which plan you pick.
b) Knowing this, just place 650 into the equation and solve.