solved ex 2.74