Problem 12-94-Solution 1