a+b=10----------(1)
3a+2b=40-------(2)
(1)x3-(2)x1---->b= - 10
substituting this value of b in (1)
we get a=20
If a=20,b= -10 and a+b=10 then 3a+2b=40.
simply by using the elimination method
looking at the first and second equation we found out that if we multiply the 1st eq by negative two we will come up by eliminating the variable b in the second eq.
ist eq
(a + b)x-2=10x-2
thus
-2a-2b=-20
so:
-2a-2b=-20
3a+2b=40
thus we eliminate b
so a=20
substituting to the first eq.
20 +b = 10
b now equals -10
to check if your answer is correct simply substitute the values that you get in any of the two eq and chek if the left and right side of the eq is correct