You can
put this solution on YOUR website!Let one of the numbers be n and the other m.
The sum of two numbers is 40, so
Let n be the larger number, so twice the larger number is

, and twice the larger divided by the smaller is

.
The quotient is 3 and the remainder 10 when m is the divisor means
Now we have a second equation:
Solve the first equation for n by subtracting m from both sides:
Substitute this expression for n into the first equation:
Multiply both sides by m:
Distribute the 2
Add -80 and -3m to both sides
Collect like terms:
Divide by -5
Substitute your value for m into the first equation:
So the smaller number is 14 and the larger number is 26.