The sentence that requires revision to maintain a formal style is:
"Quakers like William Penn wouldn't pay taxes to support wars because they were against it, and this made people angry."
This sentence uses informal language ("wouldn't" and "made people angry"). A more formal revision could be:
"Quakers like William Penn refused to pay taxes to support wars because they opposed such actions, which led to discontent among the public."