First I found the slope by using the the definition that slope is rise/run so I saw that the y value went up from 4 to 9 which is 5 units and then the x value went up one in that same time. This means that the slope is 5/1. Then I found the y intercept by seeing where x = 0. On the graph you can see the line touches the y - axis at a value of 4 which means that the y - intercept is 4. Plugging these values into the y = mx + b equation you get y = 5x + 4.
Since all the sides add up to 10x+2, that means that 10x-2-<side1>-<side2>=<side3>. Plugging it in, we have 10x-2-5x-(2x+9)=side3, and 5x-2-(2x+9)=side3, then expanding it to 5x-2-2x-9=3x-11=side3