Substitution method :
\Given equations are
\ ---> (1)
x + y = 18 ---> (2) \ \
\solve for y from (2).
\Subtract y from each side.
\x = 18 - y ---> (3)
\Substitue x = 18 - y in (1). \ \
\.
\
Substitute in (3)
x = 18 - 12 = 6.
\Solution x = 6 and y = 12.
\