The Brain Train

Free the train by removing the cars from the grid. Add a car from the sides, 3 or more of the same cars in a row are removed.