Question 1009185
Call the larger number x and the smaller one y.  Then we have
x + y = 40  and
2x = 3y  or  x = (3/2)y
Now substitute and get
(3/2)y + y = 40
(5/2)y = 40
y = 16
x = 24