What resources available to you as a student would be most useful in preventing each of these 2 examples of violations?
The reference & citation generator is one of the tools I have available to prevent these violations. This tool gives you examples of how to cite sources and it is very user friendly