ex 1 solution