answered 5a and 5b