Combing the teeth of a gear into one object

Hello everyone. I have a gear I want to combine into a single line but I can’t seem to figure it out. Any help?

Thanks!

Screen Shot 2021-09-27 at 12.47.10 PM