exercise 5.1 relational