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."
Revised for formal style, it could read:
"Quakers, including William Penn, did not pay taxes to support wars due to their opposition to such conflicts, leading to discontent among certain segments of the population."