Answer
The smaller number is 16.
The bigger number is 24.
Work Step by Step
Let X represent the smaller number.
Since the sum is 40, the bigger number is 40 - X.
Six times the smaller number means 6X.
Four times the larger number means 4 $\times$ (40-X) = 160 - 4X.
Since these expressions are equal, we solve the following equation:
6X = 160 - 4X
10X = 160
Divide both sides by 10:
X = 16
The smaller number is 16.
The bigger number is 40 - 16 = 24.