Answer:
13 years
18 years
Explanation:
Let the age of the two brothers be x and y years.
According to the first condition:
x + y = 31.....(1)
According to the first condition:
x - y = 5.....(2)
Adding equations (1) & (2)
x + y = 31
x - y = 5
_______
2x = 36
x =36/2
x = 18 years
Plug x = 18 in equation (1)
18 + y = 31
y = 31 - 18
y = 13 years
Verification:
13 + 18 = 31
18 - 13 = 5