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."
To revise it for a more formal style, you could rephrase it as:
"Quakers, including William Penn, refused to pay taxes to support wars due to their opposition to warfare, which resulted in public discontent."