X+y=27
x=2y
2y+y=27
y=9
x=27-y
x=27-9=18
For this problem, I'd use cross-multiplication.
9/12 = x/8.
When cross multiplying, multiply 12*x and 9*8. This leads to a new equation:
12x = 72.
Then you solve as an algebra problem.
*Divide 12 on both sides*
x = 6.