Solve the following system hood equations by the substitution method

Question:
Solution:
Consider the following system of linear equations:
Equation 1:
[tex]6x+7y=17[/tex]Equation 2:
[tex]x=22-5y[/tex]Replacing the above equation into equation 1, we get:
[tex]6(22-5y)+7y=17[/tex]Applying the distributive property, we get:
[tex]132-30y+7y=17[/tex]this is equivalent to:
[tex]-30y+7y=17-132[/tex]this is equivalent to:
[tex]-23y=\text{ -115}[/tex]or
[tex]23y=\text{ 115}[/tex]solving for y, we obtain:
[tex]y=\frac{115}{23}=5[/tex]Now, replacing this into Equation 2, we obtain:
[tex]x=22-5(5)=22-25=-3[/tex]So that, we can conclude that the correct answer is:
The solution is (-3, 5)