working through problem 50 pe