Creating Another .cpp file for organization

I’m interested in creating another .cpp file to my drivecode into so all I do is call it in the main.cpp for better organization. Is there a way to do this? How would I set it up?

Here are some resources. Basically you create a new file and create your functions. Then you make function prototypes at the top of the file you need to use them or in a include file.