x+3y=24
y=2
X=?
This is a substitution question.
So by substituting in [y = 2] . . .
x + 3*(2) = 24
x + 6 = 24
x = 18
X = 18
Plug in 2 for "Y" and you get 6. Subtract 6 from 24 to get "X".