Cog on Motor is loose?
You can access the screws without disassembling anything. Use an Allen Key to tighten the screws.
Cog on Differential is loose?
1: Remove the Bolts keeping wheels on driving shaft.
2: Remove the rear brake caliper.
3: Unfasten the shaft collars.
4: Pull the shafts to disassemble the differential.
5: Tighten the screws as you now have access to them.