1. 2

More alternative solutions in comments.

  1.