x+3y=5x+3y=5
color(blue)(x=5-3yx=5−3y ( we substract 3y3y on each side )
Now that we have color(blue)xx, we can substitute it in the second equation :
4color(blue)x+5y=134x+5y=13
4*color(blue)((5-3y))+5y=134⋅(5−3y)+5y=13
20-12y+5y=1320−12y+5y=13
20-7y=1320−7y=13
20=13+7y20=13+7y ( we add 7y7y on each side )
20-13=7y20−13=7y
7y=77y=7
color(red)(y=1y=1 ( we divide by 77 on each side )
Now that we have color(red)yy, we can find color(blue)xx :
color(blue)x=5-3color(red)yx=5−3y
color(blue)x=5-3*1x=5−3⋅1
color(blue)x=5-3x=5−3
color(blue)(x=2)x=2