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."
The informal contraction "wouldn't" and the phrase "this made people angry" are too casual for a formal style. A revision could be:
"Quakers such as William Penn did not pay taxes to support wars because they opposed them, which caused discontent among others."