To find the two numbers, we need to solve for x and y using the two equations given:
2x + y = 18
y = 4x - 12
We can substitute the second equation into the first one:
2x + (4x - 12) = 18
Combining like terms:
6x - 12 = 18
Adding 12 to both sides:
6x = 30
Dividing both sides by 6:
x = 5
Now that we have x, we can substitute it back into one of the equations to find y:
y = 4x - 12
y = 4 * 5 - 12
y = 20 - 12
y = 8
The two numbers are 5 and 8