The sum of one number and 2 times a second number is 57. The sum of the two numbers is 18
n + 2s = 57
n + s = 18
subtracting the equations will give you s
substitute back to find n
To solve this problem, let's use algebraic equations.
Let's assume the first number is x and the second number is y.
The problem states that the sum of one number and two times the second number is 57. We can write this as an equation:
x + 2y = 57 -----(Equation 1)
The problem also states that the sum of the two numbers is 18. We can write this as another equation:
x + y = 18 -----(Equation 2)
Now we have a system of two equations that we can solve simultaneously to find the values of x and y.
To solve this system, we can use a method called substitution.
From Equation 2, we can rearrange it to solve for x in terms of y:
x = 18 - y
Now we substitute this value for x in Equation 1:
(18 - y) + 2y = 57
Simplifying the equation:
18 - y + 2y = 57
18 + y = 57
y = 57 - 18
y = 39
Now that we have the value of y, we can substitute it back into Equation 2 to find the value of x:
x + 39 = 18
x = 18 - 39
x = -21
Therefore, the first number (x) is -21, and the second number (y) is 39.