You need to put the folders inside of the mod folders on your 3ds. It tells you how in the ROM hacks section of this website. https://wiki.hacks.guide/wiki/3DS:Game_modification
You will need to go into the title ID of the game your hacking. I don't know what they are for xy, but basically just search x/y title ID.