Slide the tiles and solve the puzzle. Let two of the same tiles collide to…