Solve Exercise 5-10: expr