The objective is to determine B's age, given the ratio of A's and B's ages and their combined age.
- Ratio of Ages: A and B's ages are in the proportion 3:5.
- Total Age: The sum of their ages is 40 years.
- The ratio allows us to represent their ages using a shared variable.
- Age ratio = 3:5
- Sum of ages = 40 years
Let \( x \) be the common multiplier. A's age is represented as \( 3x \) and B's age as \( 5x \). The sum is calculated as: \[ 3x + 5x = 40 \Rightarrow 8x = 40 \Rightarrow x = 5 \]
B's age is: \[ 5x = 5 \times 5 = 25 \]
B's age is 25 years.