The ratio of two numbers is . When the smaller number is increased by two and the larger number is decreased by two, the new ratio is . What is the value of the sum of the two numbers?​