Move files to the correct subfolders

I'm sure this is doable, but we need some clear, real-world data.
Please show in Code Blocks real-world data for:

  1. Source folders, subfolders, and files, all clearly labeled.
  2. The desired output of the same.

IOW, a complete before and after set of data.