Answer:
B. a comma after "lanes"
Explanation: A comma should be placed after the word lanes because "when they got to the lanes" is an introductory clause for the second independent clause "when they got to the lanes Tommy left his in the car." The first independent clause is "Tommy and Madison both brought their bowling shoes" and both independent clauses are joined by a comma and the coordinating conjunction "but."