Write an algebraic equation for the English statement "Add 5 to the sum of 2 times x and the result is 21."

2x+5=21