Hi @PowerAutoSwain
Thank you for your posting.
According to your description, you want to create a file in OneDrive and it can created in SharePoint folder at the same time, if it is created in a subfolder, it can also be created in the SharePoint subfolder accordingly.
I created a Flow and can achieve it, you can refer to the steps as below:

split(last(split(outputs('Get_file_metadata')?['body/Path'],'Shelbyville Church of God/')),'/')

length(outputs('Compose_3'))

join(take(outputs('Compose_3'),add(outputs('Compose'),-1)),'/')


When new file is created in Shelbyville Church of God, the file will be created to ‘Shared Documents


When a new file is created in ’Shelbyville Church of God/Finance’,the file will be created to ‘Shared Dpcuments/Finance’


Hope the content above may help you.
Best regards,
If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.