Answer :

[tex] y=mx+b\\ m- \hbox{slope}\\ b- \hbox{y-intercept}\\\\ \underline{y=5x+2}\\ m=5\\ b=2\\\\ 2x+y=-6\\ \underline{y=-2x-6}\\ m=-2\\ b=-6[/tex]