Value of variable 'x' is (-2).
Equations given in the question are,
2x + 5y = 21 -------(1)
x + y = 3 ------(2)
Multiply equation (2) by 2 then subtract it from equation (1),
(2x + 5y) - (2x + 2y) = 21 - 2×3
2x + 5y - 2x - 2y = 21 - 6
3y = 15
y = 5
By substituting the value of 'y' in equation (2),
x + 5 = 3
x = 3 - 5
x = -2
Therefore, value of variable 'x' will be (-2).
Learn more,
https://brainly.com/question/64088