The difference between the ages of two friends is 2 years. The sum of their ages is 74 years. Find the age of the older friend.