The trick is to paraphrase. Switch around the word order and sentence structure of the original text. Find as many synonyms as you can. Don’t forget to cite your sources correctly. As long as you do this, you're don't plagiarize.