It depends on the type of writing you need to hand in. Academic writing mostly requires using formal language. However, each task has guidelines that involve the tone of writing. So you should rewrite all your sources to fit the language and style requirements.