Merging data from two MacBooks with one Apple Account
My daughter has a MacBook Air and a MacBook Pro. She previously used one for home and one for school and backed up both to the iCloud using her single Apple ID. Previously she kept the data/files separate. Now I am trying to help her hopefully merge the files from both MacBooks so that all the documents, files and folders from each MacBook are one both, so she could leave one at work and one at home but have access to all her files. Eventually she will probably move on from one of the devices but would like to have all her files on the MacBook that she keeps.
What is the easiest way to have both MacBooks in sync with both having access to all the files?
[Re-Titled by Moderator]
Original Title: Two MacBooks, One Apple ID/iCloud - How can I merge the data and see files on both devices
MacBook Air 13″, macOS 14.7