If you have downloaded GTA 5 from steam, you need to navigate the Steam\steamapps\common\Grand Theft Auto V and paste the files there.
To use the GTA 5 mods, you need to cut the dinput8.dll, ScriptHookV.dll, and NativeTrainer.asi file to the GTA 5’s game directory.