Boolean algebras

A Boolean algebra is a ring A with 1 satisfying x2=x for all xA. Prove that in a Boolean algebra A:

  1. 2x=0 for all xA.
  2. Every prime ideal p is maximal, and A/p is a field with two elements.