Solve for x and y.
8
5
Х
15
У
12

From the first diagram, we can write the equation:
[tex]x\text{ + y = 16 ----equation(1)}[/tex]From the second diagram, we can write the equation:
[tex]8\text{ + y = x ------equation (2)}[/tex]Substitute the expression for x in equation (2) into equation (1)
[tex]\begin{gathered} x\text{ + y = 16} \\ 8\text{ + y + y = 16} \\ 8\text{ + 2y = 16} \\ \text{Collect like terms} \\ 2y\text{ = 16 -8} \\ 2y\text{ = 8} \\ \text{Divide both sides by 2} \\ \frac{2y}{2}\text{ = }\frac{8}{2} \\ y\text{ = 4} \end{gathered}[/tex]Substituting the value of y into equation (2):
[tex]\begin{gathered} 8\text{ + y = x} \\ x\text{ = 8 + 4} \\ x\text{ = 12} \end{gathered}[/tex]Answer:
x = 12, y = 4